jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCR-2552) Creating a node of type nt:hierarchyNode (or derived) on a JCR 1.0 compliant repository fails
Date Fri, 23 Sep 2011 14:42:26 GMT

     [ 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

        

Mime
View raw message