| Summary: | No difference between reactive and pull query | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Tomas Schlosser <tschloss> | ||||
| Component: | BRE (Expert, Fusion) | Assignee: | Mark Proctor <mproctor> | ||||
| Status: | VERIFIED --- | QA Contact: | Lukáš Petrovický <lpetrovi> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | BRMS 5.2.0-ER1 | CC: | atangrin, lpetrovi | ||||
| Target Milestone: | --- | ||||||
| Target Release: | BRMS 5.2.0.GA | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | Type: | Bug | |||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | 732726 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
This was fixed as part of all the BC fixes, see Bug732726. Sending to QA. This bug is fixed in BRMS-5.2.0.ER4 |
Created attachment 515840 [details] Java class and DRL file to reproduce this bug Description of problem: When using reactive query (one without ?) the result is the same as with pull query (starting with ?) therefore the result is dependant on the ordering of inserted facts. To reproduce it run the test included. Actual results (with BRMS-5.2.0-ER1): Run#1 - insert place first test1: ?contains1 [] test2: contains1 [] test3: ?contains2 [] test4: contains2 [] Run#2 - insert place last test1: ?contains1 [apple, table, fork, box, sweets] test2: contains1 [apple, table, fork, box, sweets] test3: ?contains2 [apple, table, fork, box, sweets] test4: contains2 [apple, table, fork, box, sweets] Expected results (with Drools-5.3.0-SNAPSHOT): Run#1 - insert place first test1: ?contains1 [] test2: contains1 [apple, table] test3: ?contains2 [] test4: contains2 [apple, table, fork, box] Run#2 - insert place last test1: ?contains1 [apple, table, fork, box, sweets] test2: contains1 [apple, table, fork, box, sweets] test3: ?contains2 [apple, table, fork, box, sweets] test4: contains2 [apple, table, fork, box, sweets]