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 2013/05/23 16:41:21 UTC

[jira] [Comment Edited] (OAK-841) Indexing empty string fails with "there's already a child node with name ':index'"

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

Alex Parvulescu edited comment on OAK-841 at 5/23/13 2:40 PM:
--------------------------------------------------------------

> Character x could be a space.
what about ":" ?

I mean use ":" as a replacement for the empty string value only.
                
      was (Author: alex.parvulescu):
    > Character x could be a space.
what about ":" ?
                  
> 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
>         Attachments: PropertyIndexTest.java.patch
>
>
> 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