Uploaded image for project: 'Live Copy'
  1. Live Copy
  2. LIVECOPY-411

Wrong structure created when pushing to more than one copy

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.2.13
    • 3.2.12

    Description

      Steps to reproduce

      1. install lightmodule
      2. import website.master.yaml in website
      3. create two live copies (or even 3 like me, see image-4.png)
      4. delete the c24 page in every copy (so that you emulate the first creation of the live copy of that page)
      5. create live copy on c24 (see image-5.png)
      6. select all the copies (see image-6.png)
      7. after creation it looks like image-7.png
      8. check jcr (in my case master0 live copy has a wrong header)

      Expected results

      All copies are generated with the same structure

      Actual results

      Some copies are adding an extra node

      Workaround

      No

      Development notes

      This issue has been detected in three different use cases, but all of them related to complex fields.

      • forms (component with area parallel to complex field)
      • content carousel (component with area parallel to complex field)
      • accordion (component with area parallel to complex field)

      If we has 3 copies, it has been detected that copy0 and copy2 are including this extra nodes:

              'header':
                'jcr:uuid': '75180338-5a39-46a4-80df-0d4c1ad65460'
                'mgnl:removeIfEmpty': true
      

      Exports from master and the 3 copies can be found attached in the ticket.

      Checklists

        Acceptance criteria

        Attachments

          1. image-2023-08-25-12-32-15-127.png
            image-2023-08-25-12-32-15-127.png
            776 kB
          2. image-2023-08-25-12-35-15-692.png
            image-2023-08-25-12-35-15-692.png
            551 kB
          3. starterkit.zip
            89 kB
          4. website.master.c24.yaml
            5 kB
          5. website.master0.c24.yaml
            6 kB
          6. website.master1.c24.yaml
            6 kB
          7. website.master2.c24.yaml
            6 kB

          Issue Links

            Activity

              People

                thuy.to Thuy To
                miruela Mercedes Iruela
                AuthorX
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 10d 2.5h
                      10d 2.5h