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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2013/03/27 14:11:16 UTC

[jira] [Assigned] (OAK-722) Type conversion broken

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

Marcel Reutegger reassigned OAK-722:
------------------------------------

    Assignee: Marcel Reutegger
    
> Type conversion broken
> ----------------------
>
>                 Key: OAK-722
>                 URL: https://issues.apache.org/jira/browse/OAK-722
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, jcr
>    Affects Versions: 0.6
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>
> The fix for OAK-702 introduced a regression not caught by our tests but is visible with Apache Sling on top of an Oak repository. The JSP compiler in Sling creates an nt:resource node with a jcr:lastModified property using a long value. As of svn revision 1461058 this results in a ConstraintViolationException:
> {code}
> javax.jcr.nodetype.ConstraintViolationException: No matching property definition found for jcr:lastModified
> 	at org.apache.jackrabbit.oak.plugins.nodetype.EffectiveNodeType.getPropertyDefinition(EffectiveNodeType.java:354)
> 	at org.apache.jackrabbit.oak.plugins.nodetype.ReadOnlyNodeTypeManager.getDefinition(ReadOnlyNodeTypeManager.java:435)
> 	at org.apache.jackrabbit.oak.jcr.NodeImpl$32.perform(NodeImpl.java:1610)
> 	at org.apache.jackrabbit.oak.jcr.NodeImpl$32.perform(NodeImpl.java:1599)
> 	at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:101)
> 	at org.apache.jackrabbit.oak.jcr.ItemImpl.perform(ItemImpl.java:60)
> 	at org.apache.jackrabbit.oak.jcr.NodeImpl.internalSetProperty(NodeImpl.java:1599)
> 	at org.apache.jackrabbit.oak.jcr.NodeImpl.setProperty(NodeImpl.java:519)
> {code}

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