[dna-issues] [JBoss JIRA] Resolved: (DNA-342) Wrong Values is Cast When Setting Property with Castable Type

Randall Hauch (JIRA) jira-events at lists.jboss.org
Mon Apr 6 10:38:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/DNA-342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randall Hauch resolved DNA-342.
-------------------------------

    Fix Version/s: 0.4
       Resolution: Done
         Assignee: Randall Hauch


Applied patch to correct the use of a wrong variable.

> 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
>            Assignee: Randall Hauch
>             Fix For: 0.4
>
>         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