Uploaded image for project: 'Magnolia Resources Module'
  1. Magnolia Resources Module
  2. MGNLRES-277

ResourceCleanupTask fail leads to blocking migration

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Obsolete
    • Icon: Neutral Neutral
    • None
    • 2.4.5
    • updates
    • None
    • Production Telia

      Description from customer - Marcus from Telia:
      The reason appears to be that the resource modules ResourceCleanupTask with the below line (ResourceCleanUpTask.java:377 in the trace)
      Node tempNode = (BINARY_RESOURCES_TEMPLATE.equals(template)) ? resourceNode.getNode(JcrResourceOrigin.BINARY_NODE_NAME) : resourceNode;
      This line, which translates to
      Node tempNode = ("resources:binary".equals(template)) ? resourceNode.getNode("binary") : resourceNode;
      this assume that all nodes with the resources:binary template contain a "binary" subnode. This assumption is incorrect in our content, not just for the attached node example, which is the one that fails the upgrade task, but for all nodes in this tree with the resources:binary template. (see attached export from failing node in 5.4.6)

        Acceptance criteria

              Unassigned Unassigned
              viet.nguyen Viet Nguyen
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD