Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-301

Area dialogs opens when saving component dialog

XMLWordPrintable

    • Maintenance 44, Maintenance 45
    • 3

      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.

        Acceptance criteria

              mdivilek Milan Divilek
              ccantalapiedra Carlos Cantalapiedra
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Time Spent - 5m Remaining Estimate - 5h
                    5h
                    Logged:
                    Time Spent - 5m Remaining Estimate - 5h
                    5m