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 "angela (JIRA)" <ji...@apache.org> on 2014/08/12 17:45:12 UTC
[jira] [Commented] (OAK-2024) Error when accessing
/oak:index/rep:policy/reindex property via JCR
[ 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)