Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-3932

AbstractHelper#reorderCopyIfNeeded possibly incorrectly logs errors which are very confusing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.1
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      Description

      You for example get to see something logged like

      [INFO] [talledLocalContainer] 07.03.2017 17:14:01 ERROR
      http-nio-8080-exec-7 [AbstractHelper.reorderCopyIfNeeded:189] Cannot
      reorder '/hst:hst/hst:configurations/christmas/hst:workspace/hst:pages/aaa-default'
      before 'test-default-1' because a node with the name
      '/hst:hst/hst:configurations/christmas-preview/hst:workspace/hst:pages/test-default-1'
      does not exist in the live configuration which should not be the case
      because preview and live configuration are out of sync. The preview
      configuration node that misses in live is '{}'.
      

      Apart from that the message is incorrect (the '{}'), it is very confusing since the error message is actually incorrect!

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                aschrijvers Ard Schrijvers
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: