Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-24187

As an editor, I want to be able to move a content

    Details

    • Sprint:
      Pollux Platform S11, Pollux Platform S12, Pollux Platform S13

      Description

      Wireframes located here: https://doc.ez.no/display/PR/PlatformUI+-+Copy%2C+Move%2C+Delete

      The scope of this story is to add a button action view (like Edit) in the action bar (the right toolbar) to be able to move the content. The "Manage" button with the expandable behaviour is out of the scope of this story.
      When the user clicks on this button, the universal discovery widget is launched so that the user can choose where the content will be moved. Right after this operation, a notification is displayed to the user and when the operation is finished the notification is updated. If the user is still viewing the content he moved, the location view is refreshed.

        Issue Links

          Activity

          Hide
          Jince Kuruvilla (Inactive) added a comment -

          Note to self: Thinking about use case of Moving/copying content with millions of objects in sub-tree - how do we inform user that the action 1) has started, 2) current progress (potentially), and 3) has completed

          Also note that messages should not be married to a single UI and should be able to be flexible enough to be displayed in different contexts

          Show
          Jince Kuruvilla (Inactive) added a comment - Note to self: Thinking about use case of Moving/copying content with millions of objects in sub-tree - how do we inform user that the action 1) has started, 2) current progress (potentially), and 3) has completed Also note that messages should not be married to a single UI and should be able to be flexible enough to be displayed in different contexts
          Hide
          Paulo Nunes (Inactive) added a comment - - edited

          ping Roland Benedetti, [~jince.kuruvilla@ez.no]

          – When the User wants to move an object to an unauthorized location, he should be able to choose the location in Universal Discovery Widget (UDW) and be warned about the impossibility when confirming the move or should unauthorized destiny locations be disabled in UDW?
          – When the user has only read access to some object, should the 'Move' button action view be disabled when he's viewing that object?
          – Moving an object to an hidden locations should turn the visibility state of that object also hidden (as in current legacy)?
          – Will a user be able to move multiple objects simultaneously?
          – What's the action to follow when an user tries to move an object that has child objects inaccessible to him? (should the move action be disabled or should the move operation to be allowed to proceed and in the end raise an error?)

          Show
          Paulo Nunes (Inactive) added a comment - - edited ping Roland Benedetti , [~jince.kuruvilla@ez.no] – When the User wants to move an object to an unauthorized location, he should be able to choose the location in Universal Discovery Widget (UDW) and be warned about the impossibility when confirming the move or should unauthorized destiny locations be disabled in UDW? – When the user has only read access to some object, should the 'Move' button action view be disabled when he's viewing that object? – Moving an object to an hidden locations should turn the visibility state of that object also hidden (as in current legacy)? – Will a user be able to move multiple objects simultaneously? – What's the action to follow when an user tries to move an object that has child objects inaccessible to him? (should the move action be disabled or should the move operation to be allowed to proceed and in the end raise an error?)
          Show
          Stéphane Diot added a comment - Merged at : https://github.com/ezsystems/PlatformUIBundle/commit/05498eb5d28a1c0823897ea82543c87b70649a83
          Hide
          Paulo Nunes (Inactive) added a comment -

          Stéphane Diot: while trying to move a content to an hidden container, the moved content is not inhering the hidden status
          example of :
          Scenario: Move one object to an hidden location
          Given an "Older News" folder exists
          And "Older News" is hidden
          And a "News Flash" article exists
          And "News Flash" is not hidden
          When I move the "News Flash" as a child of "Older News"
          Then the "News Flash" is successfully moved with message "'News Flash' has been successfully moved under 'Older News'"
          And I see "News Flash" as a child of "Older News"
          And "News Flash" is hidden

          In last step, i was expecting the article to be hidden, but it's not.

          Show
          Paulo Nunes (Inactive) added a comment - Stéphane Diot : while trying to move a content to an hidden container, the moved content is not inhering the hidden status example of : Scenario: Move one object to an hidden location Given an "Older News" folder exists And "Older News" is hidden And a "News Flash" article exists And "News Flash" is not hidden When I move the "News Flash" as a child of "Older News" Then the "News Flash" is successfully moved with message "'News Flash' has been successfully moved under 'Older News'" And I see "News Flash" as a child of "Older News" And "News Flash" is hidden In last step, i was expecting the article to be hidden, but it's not.
          Hide
          Damien Pobel (Inactive) added a comment -

          Paulo Nunes Stéphane Diot just implemented a UI on top of the REST API. The hidden state of a location has nothing to do with UI, so it's most likely a REST API (pr even a public API) bug that is barely related to this story.

          Show
          Damien Pobel (Inactive) added a comment - Paulo Nunes Stéphane Diot just implemented a UI on top of the REST API. The hidden state of a location has nothing to do with UI, so it's most likely a REST API (pr even a public API) bug that is barely related to this story.
          Hide
          Paulo Nunes (Inactive) added a comment -

          Ok. So I opened a new issue for the hidden status problem, apart from current story: EZP-24467

          Show
          Paulo Nunes (Inactive) added a comment - Ok. So I opened a new issue for the hidden status problem, apart from current story: EZP-24467
          Hide
          Paulo Nunes (Inactive) added a comment -

          QA Approved

          Show
          Paulo Nunes (Inactive) added a comment - QA Approved

            People

            • Assignee:
              Unassigned
              Reporter:
              Damien Pobel (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 days
                4d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 4 hours Time Not Required
                1d 4h

                  Agile