Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-6631

Wrong position of a page in the main section

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M10
    • None
    • None
    • None

      1. Add 2 pages tagged "Main section" with an article and publish them
      2. Add a blank page tagged "Main section"
      3. Move this blank page between the 2 others
      4. Add a child page to this blank page tagged "Sub section"
      5. The blank page is not positionned correctly in the front-office

          [CMS-6631] Wrong position of a page in the main section

          Changed fix version from 4.0beta to 4.0 because the changes are identified as too risky for the moment.

          Thibaut Rizzi (Inactive) added a comment - Changed fix version from 4.0beta to 4.0 because the changes are identified as too risky for the moment.

          Thibaut Rizzi (Inactive) added a comment - - edited

          The technical reason is that during live synchronization, ancestor node that need to be created in the live are not re-ordered.

          In SynchronizeComponent.synchronizePage, we do:

          1. cloneAncestorsAndPreserveUUID -> the ancestor page (and other nodes if necessary) is created but not reordered (remain the last child)
          2. cloneEligiblePage -> the current page is created and immediately after re-ordered with _cloneComponent.orderNode

          I added a FIXME comment in the SynchronizeComponent line 581.

          Thibaut Rizzi (Inactive) added a comment - - edited The technical reason is that during live synchronization, ancestor node that need to be created in the live are not re-ordered. In SynchronizeComponent.synchronizePage , we do: cloneAncestorsAndPreserveUUID -> the ancestor page (and other nodes if necessary) is created but not reordered (remain the last child) cloneEligiblePage -> the current page is created and immediately after re-ordered with _cloneComponent.orderNode I added a FIXME comment in the SynchronizeComponent line 581.

            raphael Raphaƫl Franchet
            sprieul Simon Prieul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: