Details
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