Creating a node of type nt:hierarchyNode (or derived) on a JCR 1.0 compliant
repository fails
---------------------------------------------------------------------------------------------
Key: JCR-2552
URL: https://issues.apache.org/jira/browse/JCR-2552
Project: Jackrabbit Content Repository
Issue Type: Bug
Components: jackrabbit-jcr2spi
Affects Versions: 2.0.0
Reporter: Dominique Pfister
Assignee: Dominique Pfister
When creating a node of type nt:hierarchyNode (or derived) on a JCR 1.0
compliant repository, the auto-created property named jcr:created does not get
a default value and an exception:
javax.jcr.RepositoryException: createFromDefinition not implemented for:
{http://www.jcp.org/jcr/1.0}created
The code in SessionItemStateManager#computeSystemGeneratedPropertyValues
handles jcr:created only when found in node type mix:created. In JCR 1.0,
however, this property was declared in nt:hierarchyNode. Adding this extra case
would allow interoperation with such a repository.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.