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

Wrong sort order in object relations list with ezautosave

    Details

      Description

      If eZ Autosave saves a draft of an Object Content with an Object Relations datatype, it will ignore the order of the objects

        Issue Links

          Activity

          Hide
          Eduardo Fernandes (Inactive) added a comment -

          Steps to reproduce

          1) In the admin interface, create an object content of any class that uses object relations. I created my own just for the test.
          2) Add a few objections to the relations.
          3) Change the order and wait for the autosave message.
          4) Close the browser tab but don't hit the save draft button.
          5) Open the admin interface again.
          6) Edit the draft.

          The sort order was lost.

          Show
          Eduardo Fernandes (Inactive) added a comment - Steps to reproduce 1) In the admin interface, create an object content of any class that uses object relations. I created my own just for the test. 2) Add a few objections to the relations. 3) Change the order and wait for the autosave message. 4) Close the browser tab but don't hit the save draft button. 5) Open the admin interface again. 6) Edit the draft. The sort order was lost.
          Show
          Damien Pobel (Inactive) added a comment - - edited https://github.com/ezsystems/ezpublish/pull/509
          Hide
          Damien Pobel (Inactive) added a comment - - edited

          Fixed in ezpublish:

          Update: References to internal patches for enterprise removed, fix is part of service packs for 4.7 and 5.0.

          Show
          Damien Pobel (Inactive) added a comment - - edited Fixed in ezpublish: master: http://github.com/ezsystems/ezpublish/commit/2b4aa0833977597b2e7aff28869d28391d87bc45 Update: References to internal patches for enterprise removed, fix is part of service packs for 4.7 and 5.0.
          Hide
          Joao Pingo (Inactive) added a comment -

          Tested using "tc-1417:Wrong sort order in object relations list with ezautosave" using available patch
          Approved by QA

          Show
          Joao Pingo (Inactive) added a comment - Tested using "tc-1417:Wrong sort order in object relations list with ezautosave" using available patch Approved by QA
          Hide
          Damien Pobel (Inactive) added a comment -

          Indeed, the links to ezpublish-ee (and only those) should be in a restricted comment. Unfortunately I can not edit my own comment...

          Show
          Damien Pobel (Inactive) added a comment - Indeed, the links to ezpublish-ee (and only those) should be in a restricted comment. Unfortunately I can not edit my own comment...

            People

            • Assignee:
              Unassigned
              Reporter:
              Eduardo Fernandes (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 1 hour, 30 minutes
                2d 1h 30m