You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Xavier Coulon (JIRA)" <ji...@apache.org> on 2008/02/13 21:39:12 UTC

[jira] Created: (JCR-1381) Path is not indexed when inserting a new node with SNS

Path is not indexed when inserting a new node with SNS
------------------------------------------------------

                 Key: JCR-1381
                 URL: https://issues.apache.org/jira/browse/JCR-1381
             Project: Jackrabbit
          Issue Type: Bug
          Components: jackrabbit-ocm
    Affects Versions: 1.4
            Reporter: Xavier Coulon


Using Jackrabbit OCM, when inserting two nodes with the same path, the second node's path is not indexed. 
Both nodes have the same path, and a search by path retrieves the first node only. 

The node mapping included the following annotations:

@Node(jcrMixinTypes="mix:referenceable,mix:lockable,mix:versionable") 
public class Article { 

        @Field(uuid=true) 
        private String id = null; 
        
        @Field(path=true) 
        private String path = null; 

        ....
}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JCR-1381) Path is not indexed when inserting a new node with SNS

Posted by "Christophe Lombart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christophe Lombart updated JCR-1381:
------------------------------------

    Fix Version/s: 1.5

> Path is not indexed when inserting a new node with SNS
> ------------------------------------------------------
>
>                 Key: JCR-1381
>                 URL: https://issues.apache.org/jira/browse/JCR-1381
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-ocm
>    Affects Versions: 1.4
>            Reporter: Xavier Coulon
>            Assignee: Christophe Lombart
>             Fix For: 1.5
>
>
> Using Jackrabbit OCM, when inserting two nodes with the same path, the second node's path is not indexed. 
> Both nodes have the same path, and a search by path retrieves the first node only. 
> The node mapping included the following annotations:
> @Node(jcrMixinTypes="mix:referenceable,mix:lockable,mix:versionable") 
> public class Article { 
>         @Field(uuid=true) 
>         private String id = null; 
>         
>         @Field(path=true) 
>         private String path = null; 
>         ....
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (JCR-1381) Path is not indexed when inserting a new node with SNS

Posted by "Christophe Lombart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christophe Lombart reassigned JCR-1381:
---------------------------------------

    Assignee: Christophe Lombart

> Path is not indexed when inserting a new node with SNS
> ------------------------------------------------------
>
>                 Key: JCR-1381
>                 URL: https://issues.apache.org/jira/browse/JCR-1381
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-ocm
>    Affects Versions: 1.4
>            Reporter: Xavier Coulon
>            Assignee: Christophe Lombart
>
> Using Jackrabbit OCM, when inserting two nodes with the same path, the second node's path is not indexed. 
> Both nodes have the same path, and a search by path retrieves the first node only. 
> The node mapping included the following annotations:
> @Node(jcrMixinTypes="mix:referenceable,mix:lockable,mix:versionable") 
> public class Article { 
>         @Field(uuid=true) 
>         private String id = null; 
>         
>         @Field(path=true) 
>         private String path = null; 
>         ....
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-1381) Path is not indexed when inserting a new node with SNS

Posted by "Christophe Lombart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christophe Lombart resolved JCR-1381.
-------------------------------------

    Resolution: Fixed

I just fixed this issue. Can you check if it is ok for you ? 
Now, the path is updated after calling the method insert. 

> Path is not indexed when inserting a new node with SNS
> ------------------------------------------------------
>
>                 Key: JCR-1381
>                 URL: https://issues.apache.org/jira/browse/JCR-1381
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-ocm
>    Affects Versions: 1.4
>            Reporter: Xavier Coulon
>            Assignee: Christophe Lombart
>
> Using Jackrabbit OCM, when inserting two nodes with the same path, the second node's path is not indexed. 
> Both nodes have the same path, and a search by path retrieves the first node only. 
> The node mapping included the following annotations:
> @Node(jcrMixinTypes="mix:referenceable,mix:lockable,mix:versionable") 
> public class Article { 
>         @Field(uuid=true) 
>         private String id = null; 
>         
>         @Field(path=true) 
>         private String path = null; 
>         ....
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.