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

noah totti (JIRA) jira-events at lists.jboss.org
Thu May 9 09:28:54 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-14406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

noah totti updated JBIDE-14406:
-------------------------------

    Issue Type: Bug  (was: Feature Request)

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