You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2011/09/23 16:42:26 UTC

[jira] [Updated] (JCR-2552) Creating a node of type nt:hierarchyNode (or derived) on a JCR 1.0 compliant repository fails

     [ https://issues.apache.org/jira/browse/JCR-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-2552:
-------------------------------

    Fix Version/s: 2.2.0

> 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
>             Fix For: 2.2.0
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira