[PAGES-301] Area dialogs opens when saving component dialog Created: 07/May/20  Updated: 22/Sep/21  Resolved: 17/Feb/21

Status: Closed
Project: Magnolia pages module
Component/s: Pages app
Affects Version/s: 6.2.5
Fix Version/s: 6.2.6

Type: Bug Priority: Neutral
Reporter: Carlos Cantalapiedra Assignee: Milan Divilek
Resolution: Fixed Votes: 1
Labels: 622, M6-UI-3, cs-bk, maintenance, stk
Remaining Estimate: 5h
Time Spent: 5m
Original Estimate: Not Specified

Attachments: PNG File stkFooter.png    
Issue Links:
Problem/Incident
duplicate
is duplicated by MGNLUI-6376 Area Dialog opens after saving a comp... Closed
relation
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Sprint: Maintenance 44, Maintenance 45
Story Points: 3

 Description   

An area which has a dialog defined within it shows the dialog after a component it's created on it. 

Steps to reproduce:

  1. Edit /mtk/templates/pages/basic.yaml by adding: dialog: mtk:pages/myDialog
  2. Create myDialog.yaml at /mtk/dialogs/pages/
  3. Place the following code snippet:
    form:
      tabs:
        - name: tabMain
          fields:
    
            - name: title
              required: true
              class: info.magnolia.ui.form.field.definition.TextFieldDefinition
    
    actions:
      commit:
        class: info.magnolia.ui.admincentral.dialog.action.SaveDialogActionDefinition
      cancel:
        class: info.magnolia.ui.admincentral.dialog.action.CancelDialogActionDefinition
     
  4. Go to pages-app, create a Basic page and in the Main area create a component.
  5. Check that after saving the component, the "myDialog" dialog pops

If you do this very same test on the old pages app the dialog does not pop.

Notes
The footer area of the stk site definition.


Generated at Mon Feb 12 06:17:36 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.