[
https://issues.apache.org/jira/browse/JCR-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13761724#comment-13761724
]
Jan Haderka commented on JCR-3661:
----------------------------------
[~tripod] Can you set the fix version on this issue? Is it going out only w/
3.0?
> jcrvlt: String[]{""} not packaged correctly
> -------------------------------------------
>
> Key: JCR-3661
> URL: https://issues.apache.org/jira/browse/JCR-3661
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Reporter: Tobias Bocanegra
> Assignee: Tobias Bocanegra
>
> A MV property with 1 empty string value is serialized as "[]". When
> deserialized, this results in an empty MV property with 0 values.
> eg:
> <?xml version="1.0" encoding="UTF-8"?>
> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0"
> xmlns:jcr="http://www.jcp.org/jcr/1.0"
> jcr:primaryType="sling:Folder"
> allowedChildren="[]"/>
> This is a flaw in the DocViewPropertyFormat. the simplest solution is to mark
> an empty string value with \0.
> eg:
> allowedChildren="[\0]"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira