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

Push action is not always pushing content

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.2
    • Labels:

      Description

      Steps to reproduce

      1. Create a page (master) to the root node (named livecopy-test)
      2. Create a livecopy sites of master and name it lc-de and lc-com
      3. Add some content to master (i.e. add component(s))
      4. push to lc-de site
      5. open lc-de and see that the content is correctly pushed
      6. open lc-com and see that the content is not there as expected (without this step all works fine)
      7. made some more changes on master - livecopy-test
      8. made push and publish to both lc-de and lc-com

      Expected results

      Content is pushed to lc-com and lc-de.

      Actual results

      Content is not pushed to lc-com. No error

      Workaround

      • render page before creating live copy (main/footer nodes would be created and referenced correctly)

        Development notes

      • open lc-com and see that the content is not there as expected

      When this step is done, areas nodes are created empty in jcr:

      When the content is pushed to this site (lc-com) the masterContentIdentifier cannot be found and a new node is created. In the logs this messages can be seen:

      2021-02-08 19:11:26,569 WARN  vecopy.actions.PropagateMasterContentChangesHelper: child page /lc-com/lc-test/main does not have the master content identifier
      2021-02-08 19:11:26,569 WARN  vecopy.actions.PropagateMasterContentChangesHelper: Cannot find the master node for /lc-com/lc-test/main.
      2021-02-08 19:11:27,824 WARN  vecopy.actions.PropagateMasterContentChangesHelper: child page /lc-com/lc-test/footer does not have the master content identifier
      2021-02-08 19:11:27,824 WARN  vecopy.actions.PropagateMasterContentChangesHelper: Cannot find the master node for /lc-com/lc-test/footer.
      

      As a consequence a new node main0 and footer0 is created but the page try to render main and footer. This is the code in JCR:

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                asiska Adam Siska
                Reporter:
                miruela Mercedes Iruela
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Checklists

                    Bug DoR
                    DoD