[
https://issues.apache.org/jira/browse/OAK-841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13665212#comment-13665212
]
Thomas Mueller commented on OAK-841:
------------------------------------
A possible solution: if the indexed value is empty or ends with character x,
then append character x to the value to get the index node name. When reading,
if the index node name ends with character x, the last character has to be
removed. Character x could be a space.
> Indexing empty string fails with "there's already a child node with name
> ':index'"
> ----------------------------------------------------------------------------------
>
> Key: OAK-841
> URL: https://issues.apache.org/jira/browse/OAK-841
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 0.8
> Reporter: Marcel Reutegger
>
> Indexing an empty property value results in an 'node already exists'
> exception in the MicroKernel.
> The value probably needs to be encoded in the index.
--
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