[LIVECOPY-242] Push action is not always pushing content Created: 08/Feb/21  Updated: 15/Mar/21  Resolved: 22/Feb/21

Status: Closed
Project: Live Copy
Component/s: None
Affects Version/s: None
Fix Version/s: 3.2.2

Type: Bug Priority: Neutral
Reporter: Mercedes Iruela Assignee: Adam Siska
Resolution: Fixed Votes: 0
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2021-02-08 at 19.04.56.png     PNG File Screenshot 2021-02-08 at 19.06.09.png    
Issue Links:
Relates
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: Ext DAMs maintenance & partnership support
Sprint: Maintenance 45
Story Points: 5

 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:


Generated at Mon Feb 12 02:26:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.