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

Object Relations order changed upon concurrent edition

    Details

      Description

      If two users edit, at the same time, an object with object relations field, the order of the related objects is changed without (apparent) reason.

      Steps to reproduce
      • Create a class with two fields: title (text line), relations (object relations - browse)
      • Create an object of this class. Give it a title and select 3 or more objects into relations field
      • Edit the object (do not publish it yet)
      • In a different browser, edit the same object using a different user (you'll need to create a new draft)
      • Publish the object, without changing anything, with the first user
      • Publish it, without changing anything, with the second user
      • View the results
        => Expected result: Since nothing was changed while editing, nothing should had changed
        => Actual result: The object relations list order is reversed

        Issue Links

          Activity

          Show
          Yannick Roger (Inactive) added a comment - PR: https://github.com/ezsystems/ezpublish-legacy/pull/847
          Show
          Yannick Roger (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-legacy/commit/240191c7a68bbe33b8a9d6a35d5ab0888b1bdadf
          Hide
          Paulo Nunes (Inactive) added a comment -

          QA Approved

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

            People

            • Assignee:
              Unassigned
              Reporter:
              Joaquim Cavalleri (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 - 1 day, 1 hour
                1d 1h