jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-659) import of multivalue properties with single value results in incorrect property creation
Date Fri, 08 Dec 2006 15:37:23 GMT
     [ http://issues.apache.org/jira/browse/JCR-659?page=all ]

Stefan Guggisberg resolved JCR-659.
-----------------------------------

    Fix Version/s: 1.2
       Resolution: Fixed

fixed in svn r484644

thanks for reporting this issue!

> import of multivalue properties with single value results in incorrect property creation
> ----------------------------------------------------------------------------------------
>
>                 Key: JCR-659
>                 URL: http://issues.apache.org/jira/browse/JCR-659
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.1
>         Environment: Linux, Tomcat 5.5.20, JDK 1.6.0rc1, both xml file repository and
derby db repository.
>            Reporter: Torgeir Veimo
>         Assigned To: Stefan Guggisberg
>             Fix For: 1.2
>
>
> When importing a file exported with system view, a value of a multivalued property is
stored as a singlevalue property. The bug seems to be that for some reason, even if PropDef.isMultiple()
is true for a given property, no ValueFormatException is thrown when setting the property
as single value.
> Workaround:
> It works if I change PropInfo.apply() line 136 to 
> if (va.length == 1 && !def.isMultiple()) {
> ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message