jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Przemo Pakulski (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1227) Restore of empty multivalue property always changes property type to String
Date Thu, 22 Nov 2007 13:19:43 GMT

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

Przemo Pakulski updated JCR-1227:
---------------------------------

    Affects Version/s: 1.4

> Restore of empty multivalue property always changes property type to String
> ---------------------------------------------------------------------------
>
>                 Key: JCR-1227
>                 URL: https://issues.apache.org/jira/browse/JCR-1227
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.3.3, 1.4
>            Reporter: Tomek Dabrowski
>         Attachments: restoreMultvalueProp.patch
>
>
> When you do a restore of  empty multivalue property (OPV=COPY), restored property always
has the String type (no matter of property type in frozen state). The solution is to set the
property type from frozen state instead of retriving it from 'first' value. If mulitvalue
does not have any values the type is set to UNDEFINED and finally changed to STRING in restore
method.
> Attached patch with test case.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message