[
https://issues.apache.org/jira/browse/OAK-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487633#comment-13487633
]
angela commented on OAK-411:
----------------------------
added initial draft of RegistrationValidator in revision 1404049. it currently
still has plenty of
TODOs and currently only prevents un-registration of built-in node types in
order to
be able to resolve the hack/todo in ReadWriteNodeTypeManager.
> Validator for node type management
> ----------------------------------
>
> Key: OAK-411
> URL: https://issues.apache.org/jira/browse/OAK-411
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: core
> Reporter: angela
>
> while working on the protected item definitions i realized that
> we don't have any validation for node type management operations
> on the oak-level.
> IMO there should be a separate validator for content changes underneath
> /jcr:system/jcr:nodeTypes with the following characteristics:
> - prevent removal of built-in node types
> - assert validity of node type definition
> - prevent changes to registered node types that would render
> existing nodes invalid
--
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