Uploaded image for project: 'A/B Testing'
  1. A/B Testing
  2. ABTEST-177

Missing child nodes in test variant node

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 1.0
    • None
    • None

    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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              nguyen.phung Nguyen Phung Chi
              nguyen.phung Nguyen Phung Chi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 2d 3h
                    2d 3h