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

ItemNotFound in Push Master Changes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 3.2
    • 3.1.1

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD