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 "angela (JIRA)" <ji...@apache.org> on 2013/05/15 13:59:15 UTC

[jira] [Created] (OAK-823) Missing validation for jcr:uuid property

angela created OAK-823:
--------------------------

             Summary: Missing validation for jcr:uuid property
                 Key: OAK-823
                 URL: https://issues.apache.org/jira/browse/OAK-823
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core
            Reporter: angela


A jcr:uuid property (defined by mix:referenceable) is defined to be
an autocreated/mandatory/protected property.

Currently the commit hooks don't make sure that in this case 
- the value is a valid UUID (propertyAdded)
- nor does it assert that this property can never be modified (propertyChanged)
note however, that i might be removed in case the mixin type is removed or
the primary type gets modified and there is no valid definition left for
that property. since the type-validator must assert that the mandatory
property exists (if the node is referenceable) there is not extra verification
needed in the case of removal.

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