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

Area dialogs opens when saving component dialog

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Neutral
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Pages app
    • Labels:

      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ccantalapiedra Carlos Cantalapiedra
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                Time Tracking

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