[dna-issues] [JBoss JIRA] Updated: (DNA-342) Wrong Values is Cast When Setting Property with Castable Type
Brian Carothers (JIRA)
jira-events at lists.jboss.org
Fri Apr 3 21:52:22 EDT 2009
[ https://jira.jboss.org/jira/browse/DNA-342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Carothers updated DNA-342:
--------------------------------
Attachment: DNA-342.patch
Trivial patch to fix the defect.
> Wrong Values is Cast When Setting Property with Castable Type
> -------------------------------------------------------------
>
> Key: DNA-342
> URL: https://jira.jboss.org/jira/browse/DNA-342
> Project: DNA
> Issue Type: Bug
> Components: JCR
> Affects Versions: 0.4
> Reporter: Brian Carothers
> Attachments: DNA-342.patch
>
>
> If one sets a property with a single value that is not the same as the required type of the definition but is castable to the required type of the definition (e.g., setting a binary property with a string value), SessionCache.setProperty tries to convert the JcrValue object (which ends up converting JcrValue.toString) instead of the converting the value that the JcrValue object wraps.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the dna-issues
mailing list