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