You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Dominique Pfister (JIRA)" <ji...@apache.org> on 2010/03/09 15:12:27 UTC

[jira] Resolved: (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 ]

Dominique Pfister resolved JCR-2552.
------------------------------------

    Resolution: Fixed

Fixed in revision 920883.

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