You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2006/08/11 09:55:14 UTC
[jira] Resolved: (JCR-541) NPE in
PredefinedNodeTypeTest.getPropertyDefSpec
[ http://issues.apache.org/jira/browse/JCR-541?page=all ]
Marcel Reutegger resolved JCR-541.
----------------------------------
Fix Version/s: 1.1
Resolution: Fixed
I agree. The JavaDoc of PropertyDefinition.getValueConstraints() says:
"Reporting of value constraints is optional. An implementation may return null, indicating that value constraint information is unavailable (though a constraint may still exist)."
I removed the check from PredefinedNodeTypeTest and adapted the node type specs in org.apache.jackrabbit.test.api.nodetype.spec.
svn revision: 430715
Thank you for reporting this issue.
> NPE in PredefinedNodeTypeTest.getPropertyDefSpec
> ------------------------------------------------
>
> Key: JCR-541
> URL: http://issues.apache.org/jira/browse/JCR-541
> Project: Jackrabbit
> Issue Type: Bug
> Components: JCR TCK
> Reporter: Julian Reschke
> Priority: Minor
> Fix For: 1.1
>
>
> Occurs when PropertyDefinition.getValueConstraints returns null, which is allowed by the spec.
--
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