jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JCR-3661) jcrvlt: String[]{""} not packaged correctly
Date Fri, 30 Aug 2013 22:51:51 GMT

     [ https://issues.apache.org/jira/browse/JCR-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tobias Bocanegra resolved JCR-3661.
-----------------------------------

    Resolution: Fixed

fixed in revision 1519105 (3.0.0-SNAPSHOT)
                
> 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

Mime
View raw message