You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2013/05/17 15:19:17 UTC
[jira] [Resolved] (OAK-822) TypeEditor: Missing validation for
mandatory items
[ https://issues.apache.org/jira/browse/OAK-822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved OAK-822.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.8
Assignee: Jukka Zitting
I implemented the other mentioned improvements in followup commits and added a few extra unit tests. I guess we're done here, so resolving as fixed.
> TypeEditor: Missing validation for mandatory items
> --------------------------------------------------
>
> Key: OAK-822
> URL: https://issues.apache.org/jira/browse/OAK-822
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Reporter: angela
> Assignee: Jukka Zitting
> Fix For: 0.8
>
>
> Within TypeEditor#leave we check if there are missing mandatory items.
> However, the validation is currently insufficient as it only checks if
> items with the required names are present.
> for example:
> a referenceable unstructured node that as a multivalued boolean
> property named "jcr:uuid" would pass the validation even though that
> property is not the jcr:uuid property defined by "mix:referenceable"
> but rather a residual property which by coincidence has the same name.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira