Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
0.9, 1.0
-
None
-
None
-
jackrabbit r379292
Description
when exporting a multivalue property with docview, the property values are serialized to a space delimited list in the xml attributes:
for example:
<?xml version="1.0" encoding="UTF-8"?>
.
.
<testNode
jcr:primaryType="refTest"
refs="b5c12524-5446-4c1a-b024-77f623680271 7b4d4e6f-9515-47d8-a77c-b4beeaf469bc"
/>
the refTest nodetype was:
[refTest]
- refs (reference) multiple
importing this docview fails with: javax.jcr.ValueFormatException: not a valid UUID format
this is due to the fact, that the space delimited list is not exploded anymore. actually this code is commented:
org.apache.jackrabbit.core.xml.DocViewImportHandler, lines 191 - 200:
/*
// @todo should attribute value be interpreted as LIST type (i.e. multi-valued property)?
String[] strings = Text.explode(attrValue, ' ', true);
propValues = new Value[strings.length];
for (int j = 0; j < strings.length; j++)
*/
i haven't tested, but i assume this also fails for all other non-string property types.
Attachments
Attachments
Issue Links
- incorporates
-
JCR-369 IllegalNameException when importing document view with two mixins
- Closed