Node.setProperty(String, ...) implementation not according to the specification 
--------------------------------------------------------------------------------

         Key: JCR-363
         URL: http://issues.apache.org/jira/browse/JCR-363
     Project: Jackrabbit
        Type: Bug
  Components: API  
    Versions: 0.9    
 Environment: svn r387181
    Reporter: Stefan Guggisberg
     Fix For: 1.0


to illustrate the issue assume the following  property definition:

name: someText
type: String
non-mandatory
non-autocreate

the following call would throw a ConstraintViolationException
if the property doesn't exist yet:

node.setProperty("someText", 12345);

the rules used to find an applicable definition in this case are too strict.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to