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