Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5524

CheckAndModifyPropertyValueTask throws NPE instead of logging an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.5.15, 5.2.1
    • 4.5.14, 5.2
    • core
    • None

      This is due to usage of
      SessionUtil.getNode(workspaceName, nodePath) instead of jcrSession.getNode(nodePath). The former will return null in case of a PathNotFoundException leading to NPE in the subsequent method call, whereas the latter would throw an exception which is caught and logged to the user

        Acceptance criteria

              fgrilli Federico Grilli
              fgrilli Federico Grilli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD