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 "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2014/10/16 11:11:34 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=14173552#comment-14173552 ] 

Alex Parvulescu commented on OAK-2024:
--------------------------------------

bq. that property 'reindex' is simply not allowed below the rep:policy node (as it wouldn't be allowed below nt:folder) and it doesn't make sense to add it to other nodes than the index definitions.
Agreed. See OAK-2203, the reindex flag is automatically added to all child nodes, we'll have to revisit this behavior.
The problem is you might have to manually remove the property in the case it was already added.

> 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.0
>            Reporter: Tobias Bocanegra
>            Priority: Critical
>
> {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.3.4#6332)