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] Closed: (JCR-124) Session.import() failes to resolve propert property definition in some cases
Date Tue, 24 May 2005 17:04:18 GMT
     [ http://issues.apache.org/jira/browse/JCR-124?page=all ]
     
Stefan Guggisberg closed JCR-124:
---------------------------------

    Resolution: Fixed

fixed in rev. 178206

> Session.import() failes to resolve propert property definition in some cases
> ----------------------------------------------------------------------------
>
>          Key: JCR-124
>          URL: http://issues.apache.org/jira/browse/JCR-124
>      Project: Jackrabbit
>         Type: Bug
>   Components: xml
>     Reporter: c keller
>     Assignee: Stefan Guggisberg

>
> Some Properties get assigned the wrong definiton when imported via SysView XML.
> The selecteion of the definition failes under the following condition:
> The nodetype contains a multi-valued property and a single-valued
> residual property.
> If the data to be imported than contains only one value for the multivalued property,
it will be created with the residual definition.
> A later access to this propertie's values will fail with an ValueFormatException.
> Example:
> Node-Type
>  - Property
>   - name: myapp:name
>   - mulitple: true
>  - Property
>   - name: *
>   - multible: false
> Sysview:
> <sv:node sv:name="somenode">
>   <sv:property sv:name="jcr:primaryType" sv:type="Name">
>    <sv:value>myapp:sampleNt</sv:value> 
>   </sv:property>
>  
>   <sv:property sv:name="myapp:name" sv:type="String">
>    <sv:value>At least I could have multi values</sv:value> 
>   </sv:property>
> </sv:node>
> => The "mayapp:name" will be imported into the residule property.

-- 
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