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

ItemNotFound in Push Master Changes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.2
    • Labels:

      Description

      Unfortunately I'm unable to reproduce the problem. However, I can reproduce the same issue on getReferencedLiveCopyNodeById.

      Steps to reproduce:

      1. Create live-copy for travel web.
      2. On the copy site, edit about (/travel0/about)
      3. Create a variant for the jumbotron
      4. Now from the pages tree, select the /travel/about and click on Push Master changes**
      5. It will appear the following logs:
      2020-08-05 13:05:18,038 INFO  vecopy.actions.PropagateMasterContentChangesHelper: Checking if childNodes for: /travel0/about should be deleted
      2020-08-05 13:05:18,088 ERROR vecopy.actions.PropagateMasterContentChangesHelper: Error changing node order /travel0/about/main/04 prev node: /travel0/about/main/00/variants/variant-0 

      The problem is getReferencedLiveCopyNodeById selects /travel0/about/main/00/variants/variant-0 instead of /travel0/about/main/00. This issue caused a ItemNotFoundException under some circumstances.  

      AC:

      • No ERROR log appears.

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jalonso Jesus Alonso
                Reporter:
                jalonso Jesus Alonso
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                    Checklists

                    Bug DoR
                    DoD