jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-2024) Error when accessing /oak:index/rep:policy/reindex property via JCR
Date Tue, 12 Aug 2014 15:45:12 GMT

    [ https://issues.apache.org/jira/browse/OAK-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14094187#comment-14094187
] 

angela commented on OAK-2024:
-----------------------------

just had a quick look at i would have suspected that {{IndexUpdate}} is the culprit... it
sets the 'reindex' property to all children, without verifying if they are of the right type
(oak:QueryIndexDefinition)... but there might be other places as well, where such a check
would be good to have... not everything is unstructured ;-)

> Error when accessing /oak:index/rep:policy/reindex property via JCR
> -------------------------------------------------------------------
>
>                 Key: OAK-2024
>                 URL: https://issues.apache.org/jira/browse/OAK-2024
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.1
>            Reporter: Tobias Bocanegra
>
> {noformat}
> javax.jcr.nodetype.ConstraintViolationException: No matching property definition found
for 'reindex'
> 	at org.apache.jackrabbit.oak.plugins.nodetype.EffectiveNodeType.getPropertyDefinition(EffectiveNodeType.java:361)
> 	at org.apache.jackrabbit.oak.plugins.nodetype.ReadOnlyNodeTypeManager.getDefinition(ReadOnlyNodeTypeManager.java:380)
> 	at org.apache.jackrabbit.oak.jcr.session.PropertyImpl$9.perform(PropertyImpl.java:397)
> 	at org.apache.jackrabbit.oak.jcr.session.PropertyImpl$9.perform(PropertyImpl.java:394)
> 	at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:237)
> 	at org.apache.jackrabbit.oak.jcr.session.ItemImpl.perform(ItemImpl.java:113)
> 	at org.apache.jackrabbit.oak.jcr.session.PropertyImpl.getDefinition(PropertyImpl.java:394)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message