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

ezcontentstaging: syncing a copy fails if the copy is made from a version > 1

    Details

      Description

      any object with more than one version, if a copy is made, the copy cannot be synced.

      • create an object and edit to get at least to version 2
      • (optional) sync the object to bring both servers up to date.
      • make a copy of that object
      • sync the copy: the event fails

      the only exception is if the original object only has version 1. then the copy has version 1 too, and sync is successful.

        Issue Links

          Activity

          Paulo Bras (Inactive) created issue -
          Paulo Bras (Inactive) made changes -
          Field Original Value New Value
          Status Open [ 1 ] Backlog [ 10000 ]
          Hide
          Paulo Bras (Inactive) added a comment -

          another way to verify the problem:

          • Create a new object
          • Set in content.ini the DefaultVersionHistoryLimit to X (test value = 2)
          • Edit the new content more than X times (4)
          • Try to sync it:
              • The first 2 versions give you a serialization error (versions do not exist anymore)
              • The 3rd version exists but you have a 404 error

          base problem is the same, new object in target server is not being created with version 1.

          Show
          Paulo Bras (Inactive) added a comment - another way to verify the problem: Create a new object Set in content.ini the DefaultVersionHistoryLimit to X (test value = 2) Edit the new content more than X times (4) Try to sync it: The first 2 versions give you a serialization error (versions do not exist anymore) The 3rd version exists but you have a 404 error base problem is the same, new object in target server is not being created with version 1.
          Gunnstein Lye made changes -
          Status Backlog [ 10000 ] InputQ [ 10001 ]
          Gunnstein Lye made changes -
          Rank Ranked higher
          Gunnstein Lye made changes -
          Rank Ranked higher
          Gunnstein Lye made changes -
          Rank Ranked higher
          Hide
          Bertrand Dunogier added a comment -

          Are there multiple entries for the same sync event (e.g. object published) in the queue ?

          Show
          Bertrand Dunogier added a comment - Are there multiple entries for the same sync event (e.g. object published) in the queue ?
          Hide
          Gaetano Giunta (Inactive) added a comment -

          @bd no, just one. Pbl is that obj gets created at version X > 1, and cs code thinks its not a new obj (create event) but an existing obj (edit event).
          See mail thread on sdk ml for extensive analysis of this

          Show
          Gaetano Giunta (Inactive) added a comment - @bd no, just one. Pbl is that obj gets created at version X > 1, and cs code thinks its not a new obj (create event) but an existing obj (edit event). See mail thread on sdk ml for extensive analysis of this
          Bertrand Dunogier made changes -
          Assignee Bertrand Dunogier [ bertrand.dunogier@ez.no ]
          Bertrand Dunogier made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Bertrand Dunogier made changes -
          Summary ezcontentstaging: if an object is copied, the copy gives an error (404 not found) on the sync event ezcontentstaging: syncing a copy fails if the copy is made from a version > 1
          Bertrand Dunogier made changes -
          Description any object with more than one version, if a copy is made, the copy cannot be synced.

          - create an object and edit to get a few versions
          - sync the object to bring both servers up to date.

          - make a copy of that object
          - sync the copy. the event fails

          the only exception is if the original object only has version 1. then the copy has version 1 too, and sync is successful.
          any object with more than one version, if a copy is made, the copy cannot be synced.

          - create an object and edit to get at least to version 2
          - (optional) sync the object to bring both servers up to date.
          - make a copy of that object
          - sync the copy: *the event fails*

          the only exception is if the original object only has version 1. then the copy has version 1 too, and sync is successful.
          Bertrand Dunogier made changes -
          Comment [ A comment with security level 'Employees' was removed. ]
          Bertrand Dunogier logged work - 24/Apr/13 6:27 PM
          • Time Spent:
            6 minutes
             
            <No comment>
          Bertrand Dunogier made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 6 minutes [ 360 ]
          Worklog Id 32920 [ 32920 ]
          Bertrand Dunogier made changes -
          Status Development [ 3 ] Devlopment done [ 5 ]
          André Rømcke made changes -
          Rank Ranked higher
          André Rømcke made changes -
          Status Devlopment done [ 5 ] Development review [ 10006 ]
          Bertrand Dunogier made changes -
          Original Estimate 0 minutes [ 0 ]
          Affects Version/s 5.1 [ 11280 ]
          Show
          Bertrand Dunogier added a comment - Merged to master: https://github.com/ezsystems/ezcontentstaging/commit/3e909ff4910723371fb3ff8d3fc3fb51fae28b45
          Bertrand Dunogier made changes -
          Status Development review [ 10006 ] Development Review done [ 10028 ]
          Fix Version/s 5.0-SP [ 11287 ]
          Fix Version/s 5.1-SPx [ 12301 ]
          Bertrand Dunogier made changes -
          Time Spent 6 minutes [ 360 ] 1 hour, 36 minutes [ 5760 ]
          Worklog Id 35244 [ 35244 ]
          Hide
          Bertrand Dunogier added a comment -

          No end-user documentation should be required.

          Show
          Bertrand Dunogier added a comment - No end-user documentation should be required.
          Bertrand Dunogier made changes -
          Status Development Review done [ 10028 ] Development Acceptance Done [ 10030 ]
          Bertrand Dunogier made changes -
          Status Development Acceptance Done [ 10030 ] Documentation done [ 10011 ]
          Bertrand Dunogier logged work - 14/Jun/13 1:19 PM
          • Time Spent:
            1 hour, 30 minutes
             

            Merging & backporting

          Marcos Loureiro (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Bertrand Dunogier [ bertrand.dunogier@ez.no ] Marcos Loureiro [ marcos.loureiro@ez.no ]
          Marcos Loureiro (Inactive) made changes -
          Status QA [ 10008 ] Development Acceptance Done [ 10030 ]
          Marcos Loureiro (Inactive) made changes -
          Link This issue relates to EZP-21068 [ EZP-21068 ]
          Hide
          Marcos Loureiro (Inactive) added a comment -

          Related improvement created: EZP-21068

          Show
          Marcos Loureiro (Inactive) added a comment - Related improvement created: EZP-21068
          Marcos Loureiro (Inactive) logged work - 17/Jun/13 4:34 PM
          • Time Spent:
            2 hours
             

            Testing

          André Rømcke made changes -
          Assignee Marcos Loureiro [ marcos.loureiro@ez.no ] Ricardo Correia [ ricardo.correia@ez.no ]
          Ricardo Correia (Inactive) made changes -
          Status Development Acceptance Done [ 10030 ] Documentation [ 10010 ]
          Marcos Loureiro (Inactive) made changes -
          Time Spent 1 hour, 36 minutes [ 5760 ] 3 hours, 36 minutes [ 12960 ]
          Worklog Id 35359 [ 35359 ]
          Show
          Ricardo Correia (Inactive) added a comment - The following two documentation pages have been created: http://doc.ez.no/Extensions/eZ-Publish-extensions/eZ-Content-Staging/eZ-Content-Staging-1.x/Known-limitations http://doc.ez.no/eZ-Publish/User-manual/5.x/Content-Staging/Known-limitations
          Ricardo Correia (Inactive) made changes -
          Time Spent 3 hours, 36 minutes [ 12960 ] 1 day, 1 hour, 21 minutes [ 33660 ]
          Worklog Id 35367 [ 35367 ]
          Ricardo Correia (Inactive) made changes -
          Status Documentation [ 10010 ] Documentation done [ 10011 ]
          Marcos Loureiro (Inactive) made changes -
          Time Spent 1 day, 1 hour, 21 minutes [ 33660 ] 1 day, 5 hours, 36 minutes [ 48960 ]
          Worklog Id 35373 [ 35373 ]
          Marcos Loureiro (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Ricardo Correia [ ricardo.correia@ez.no ] Marcos Loureiro [ marcos.loureiro@ez.no ]
          Hide
          Marcos Loureiro (Inactive) added a comment -

          QA Approved

          Show
          Marcos Loureiro (Inactive) added a comment - QA Approved
          Marcos Loureiro (Inactive) made changes -
          Assignee Marcos Loureiro [ marcos.loureiro@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Marcos Loureiro (Inactive) logged work - 18/Jun/13 6:44 PM
          • Time Spent:
            4 hours, 15 minutes
             

            Re-testing,
            Cheking documentation
            Designing and automating test case

          Eduardo Fernandes (Inactive) made changes -
          Link This issue relates to EZP-23278 [ EZP-23278 ]
          Nuno Oliveira (Inactive) made changes -
          Link This issue relates to EZP-24066 [ EZP-24066 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 52399 ] EZ* Development Workflow [ 83569 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 83569 ] EZEE Development Workflow [ 122178 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Backlog Backlog
          11s 1 Paulo Bras (Inactive) 05/Mar/13 4:55 PM
          Backlog Backlog InputQ InputQ
          29d 17h 24m 1 Gunnstein Lye 04/Apr/13 11:20 AM
          InputQ InputQ Development Development
          17d 22h 43m 1 Bertrand Dunogier 22/Apr/13 10:03 AM
          Development Development Development Done Development Done
          2d 8h 23m 1 Bertrand Dunogier 24/Apr/13 6:27 PM
          Development Done Development Done Development Review Development Review
          48d 20h 40m 1 André Rømcke 12/Jun/13 3:07 PM
          Development Review Development Review Development Review done Development Review done
          1d 20h 12m 1 Bertrand Dunogier 14/Jun/13 11:19 AM
          Development Review done Development Review done Removed Status Removed Status
          55m 39s 1 Bertrand Dunogier 14/Jun/13 12:15 PM
          Removed Status Removed Status Documentation Review done Documentation Review done
          11s 1 Bertrand Dunogier 14/Jun/13 12:15 PM
          QA QA Removed Status Removed Status
          2d 17h 20m 1 Marcos Loureiro (Inactive) 17/Jun/13 11:07 AM
          Removed Status Removed Status Documentation Documentation
          1d 25m 1 ricardo.correia@ez.no 18/Jun/13 11:33 AM
          Documentation Documentation Documentation Review done Documentation Review done
          4h 29m 1 ricardo.correia@ez.no 18/Jun/13 4:02 PM
          Documentation Review done Documentation Review done QA QA
          7h 20m 2 Marcos Loureiro (Inactive) 18/Jun/13 5:50 PM
          QA QA Closed Closed
          22s 1 Marcos Loureiro (Inactive) 18/Jun/13 5:51 PM

            People

            • Assignee:
              Unassigned
              Reporter:
              Paulo Bras (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 5 hours, 36 minutes
                1d 5h 36m