[jbosstools-issues] [JBoss JIRA] (JBIDE-14406) Sql2 query ISCHILDNODE / ISDESCENDANTNODE after session.move

Randall Hauch (JIRA) jira-events at lists.jboss.org
Thu Sep 5 13:28:03 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-14406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802030#comment-12802030 ] 

Randall Hauch commented on JBIDE-14406:
---------------------------------------

This sounds like it might be logged against the wrong JIRA project. ModeShape Tools is an Eclipse-based tooling for accessing a remote ModeShape, and therefore the JCR API cannot be involved.

If this is the case, then this needs to be moved to the MODE project (not JBIDE).
                
> Sql2 query ISCHILDNODE / ISDESCENDANTNODE after session.move
> ------------------------------------------------------------
>
>                 Key: JBIDE-14406
>                 URL: https://issues.jboss.org/browse/JBIDE-14406
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: integration-platform, modeshape
>    Affects Versions: 3.2.0.Final
>         Environment: OSX 10.8.3 - JVM 1.7 - eclipse helios - Modeshape 3.2.0.Final
>            Reporter: noah totti
>            Assignee: Dan Florian
>
> Don't know if is a bug or I miss something, I use default configuration for in memory repo, this is the behavior:
> Create a tree of 3 node: '/a/b/c'
> Create a node 'tmp' under the root
> Query with SQL2 to get all ISCHILDNODE under path '/a/b' return node 'c'
> Move node 'b' under '/tmp'
> Call getNodes() on node '/tmp/b' return node 'c'
> Query with SQL2 to get all ISCHILDNODE under path '/tmp/b' return no node
> Query with SQL2 to get all ISCHILDNODE under path '/a/b' still return node 'c'
> Same behavior with ISDESCENDANTNODE.
> To return children with ISCHILDNODE or ISDESCENDANTNODE query, you have to update the children

--
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


More information about the jbosstools-issues mailing list