Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-1009

NPE in FolderWorkflow on inherited multi-valued properties

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2.24.14, 2.26.03
    • Fix Version/s: 2.24.15, 2.26.04
    • Component/s: None
    • Labels:
    • Similar issues:
    • Sprint:
      Sprint 84

      Description

      When adding an inherited multi-valued property to hippostd:modify of a query template (e.g. new document), the following NPE is logged (full stacktrace is attached):
      [INFO] [talledLocalContainer] javax.jcr.ValueFormatException: property /content/documents/ul2nl/organisaties/archeologie/ul2:authorization is a multi-valued property, so it's values can only be retrieved as an array

      Reproduction path:
      -In http://localhost:8080/cms/console/?path=/hippo:configuration/hippo:queries/hippo:templates/new-document add the following values:
      -./hippo:paths (we're using a different property, ul2:authorization, but the same error is logged when using hippo:paths. Just make sure you enter a multi-valued property)
      -$inherited
      -Write changes to repository
      -Go to CMS and create a new document
      -Error will be triggered: 'Invalid content'

      Expected behaviour:
      Multi-valued properties are supported

        Attachments

          Activity

            People

            • Assignee:
              jsheriff Junaidh Kadhar Sheriff
              Reporter:
              rkauffman Robbert Kauffman (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: