[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2056) Update causes query to return no results

Damon Horrell (JIRA) jira-events at lists.jboss.org
Wed Apr 22 23:44:05 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBRULES-2056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12463990#action_12463990 ] 

Damon Horrell commented on JBRULES-2056:
----------------------------------------

The attached test case is working in 5.0.0.SNAPSHOT and 5.0.1.SNAPSHOT.

> Update causes query to return no results
> ----------------------------------------
>
>                 Key: JBRULES-2056
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-2056
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.0.0.CR1
>            Reporter: Damon Horrell
>            Assignee: Mark Proctor
>         Attachments: test.zip
>
>
> I've found a weird scenario where a simple query which is returning the correct data, stops returning anything if you invoke update on one of the facts that it depends on.  If you use retract/insert instead of update then it works fine.  The problem only seems to occur if there is an inheritance relationship between the objects in the query.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list