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

Damon Horrell (JIRA) jira-events at lists.jboss.org
Mon Apr 13 23:01:23 EDT 2009


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

Damon Horrell updated JBRULES-2056:
-----------------------------------

    Attachment: test.zip


Attached test case showing what does/doesn't work.  Only the testExtendsWithUpdate test fails.

> 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