[ABTEST-177] Missing child nodes in test variant node Created: 21/Apr/20  Updated: 19/May/20  Resolved: 24/Apr/20

Status: Closed
Project: A/B Testing
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Bug Priority: Neutral
Reporter: Nguyen Phung Chi Assignee: Nguyen Phung Chi
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 2d 3h
Original Estimate: Not Specified

Attachments: PNG File Admincentral - Magnolia 2020-04-21 13-32-48(1).png    
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: ABTEST MVP
Sprint: Add-Ons 36
Story Points: 3

 Description   

Steps to reproduce:

  1. Create a new AB test
  2. Select original page
  3. Save the test
  4. Re-open the test, add a new test variant in Variants tab
  5. Add a second test variant
  6. Open JCR app to compare the content of the first test variant and the second
  7. There are missing child nodes (see screenshot, 2 area nodes doesn't exist in variant C)
  • No error/exception log

AC:

  • Child nodes of the original page should be copied and available in all test variants.

Dev hint:

The issue may come from TestVariantManager#copyChildren method, which is using copyUtil.clone(), it only works for the first test variant because the child nodes do not assign a new UUID (it's copied from the original website page). 

So the second test variant may have UUID collision for these child nodes in ABTest workspace.


Generated at Sun Feb 11 22:53:39 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.