Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6377

Move action in some apps doesn't open the current path in the chooser

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.12
    • 6.2.5
    • None

      When you click on the "Move" action, the chooser dialog does not open the current page path. In 5.7 this was working as expected and the correct path was opened.

      This is happening at least in the Pages and JCR apps.

      Not happening in the Story app or in the Configuration app

      Steps to reproduce

      1. Open the pages app
      2. Select a page and click on "Move Page"
      3. Notice that the dialog does not take into account the current page path that we selected

       

      Expected results

      The chooser dialog should open the current path where the selected page is. As in Magnolia 5.7:

       

      Actual results

      The chooser is opened on the root level, the page's path is not taken into account.

      Development notes
      This is working as expected in other apps like in the Story app or in the Configuration app.
      Check out here the pages-app definition, and in git

            move:
              class: info.magnolia.ui.contentapp.action.MoveActionDefinition
              icon: icon-move
              availability: &notDeletedMultipleAvailability
                writePermissionRequired: true
                multiple: true
                rules:
                  notDeleted: *notDeleted
      

      The MoveAction class looks to be the common factor.

      The stories app uses another class:

            moveStory:
              class: info.magnolia.ui.contentapp.movedialog.action.OpenMoveDialogActionDefinition
              icon: icon-move
              availability:
                writePermissionRequired: true
                multiple: true
                rules:
                  IsNotDeletedRule:
                    implementationClass: info.magnolia.ui.framework.availability.IsNotDeletedRule
      
      

        Acceptance criteria

              rkovarik Roman Kovařík
              mdamborenea Monica Damborenea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD