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/24 10:36:20 UTC

[jira] [Resolved] (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:all-tabpanel ]

Alex Parvulescu resolved OAK-841.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9
         Assignee: Alex Parvulescu

fixed in rev 1485969.

I used the ':' token for empty strings. To bypass the encoding issue I added a check before the encoding takes place, this way the token will not get encoded so there will be no conflicting keys.


http://svn.apache.org/r1485969
                
> 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
>            Assignee: Alex Parvulescu
>             Fix For: 0.9
>
>         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