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

legacy admin: autosave will delete information about relations if AdvancedObjectRelationList = enabled

    Details

      Description

      When "AdvancedObjectRelationList" and the autosave feature are enabled, editing a related target object directly will remove the relation information from the source object's full view.

      TEST:

      set
      [BackwardCompatibilitySettings]
      AdvancedObjectRelationList=enabled
       
      - create an object X with a relations attribute, fill the relation with 1 target object, Y, and publish.
      - open the object X in the backend, the Relations tab should have 1 relation
       
      (use a second tab to make navigation easier. using 2 tabs has no effect on the issue at all)
      - In a new tab, edit the object X. Within the object relations field, edit the related object Y. trigger eZ Autosave to fire.
       
      - back In the first tab, clear caches using the right toolbar. Notice how object X no longer has any relation in the Relations tab.
       
      - In the second tab, discard the draft, close the tab
       
      - in first (and now only) tab, reload the full view of object X. the relation to Y does not show anymore.
       
      as secondary tests:
      - open X for edit. check that Y is still in the relations list
      - open X in a front end. check that Y shows as a related object. 
      

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          8m 39s 1 Paulo Bras (Inactive) 27/Mar/15 5:10 PM
          Confirmed Confirmed InputQ InputQ
          2d 15h 47m 1 yannick.roger@ez.no 30/Mar/15 9:57 AM
          InputQ InputQ Development Development
          21d 5h 10m 1 Gunnstein Lye 20/Apr/15 3:08 PM
          Development Development Development Review Development Review
          1d 34m 1 Gunnstein Lye 21/Apr/15 3:43 PM
          Development Review Development Review Development Review done Development Review done
          19h 13m 1 Gunnstein Lye 22/Apr/15 10:56 AM
          Development Review done Development Review done Documentation Review done Documentation Review done
          17m 36s 1 Gunnstein Lye 22/Apr/15 11:14 AM
          Documentation Review done Documentation Review done QA QA
          1h 43m 1 rui.silva@ez.no 22/Apr/15 12:58 PM
          QA QA Closed Closed
          22h 47m 1 rui.silva@ez.no 23/Apr/15 11:45 AM

            People

            • Assignee:
              Unassigned
              Reporter:
              Paulo Bras (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              6 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 - 7 hours, 30 minutes
                7h 30m