[dna-issues] [JBoss JIRA] Created: (DNA-344) JcrSession.getValueFactory.create(String, int) Does Not Fail Fast as per Specification

Brian Carothers (JIRA) jira-events at lists.jboss.org
Sun Apr 5 20:06:23 EDT 2009


JcrSession.getValueFactory.create(String, int) Does Not Fail Fast as per Specification
--------------------------------------------------------------------------------------

                 Key: DNA-344
                 URL: https://jira.jboss.org/jira/browse/DNA-344
             Project: DNA
          Issue Type: Bug
          Components: JCR
    Affects Versions: 0.4
            Reporter: Brian Carothers


Section 7.1.5.3 of the JCR 1.0.1 specification (pg 199) indicates that ValueFactory.create(String value, int propertyType) should throw a ValueFormatException if value cannot be converted to the correct type.  We currently defer all casts of the value and do not fail fast.

This prevents one of the test cases in the L2 TCK test ValueFactoryTest from passing successfully.

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