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] [Commented] (JCR-3661) jcrvlt: String[]{""} not packaged correctly
Date Mon, 09 Sep 2013 18:27:52 GMT

    [ https://issues.apache.org/jira/browse/JCR-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13762126#comment-13762126

Tobias Bocanegra commented on JCR-3661:

currently the versions are the one from jackrabbit. we have to wait until
infra created the new jira project for vlt. then we can move the issues and
use the correct versions.

> 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

View raw message