Bug 1083669
| Summary: | Timed rules, different name, same timer, same LHS, different RHS, one mask the other | ||
|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Mario Fusco <mfusco> |
| Component: | BRE | Assignee: | Mario Fusco <mfusco> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Tomas Schlosser <tschloss> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0.0 | CC: | kverlaen |
| Target Milestone: | ER1 | ||
| Target Release: | 6.0.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-06 19:54:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Mario Fusco <mario.fusco> updated the status of jira DROOLS-451 to Coding In Progress Mario Fusco <mario.fusco> updated the status of jira DROOLS-451 to Resolved Cherry-picked to 6.0.x branch with https://github.com/droolsjbpm/drools/commit/4ca92da45 Verified in BRMS 6.0.2 ER2. |
Consider the following KB: rule "Dummy timer rule 1" timer (cron: 0 0 0 * * ?) when Integer() then insert("Dummy timer rule 1"); System.out.println("Dummy timer rule 1"); end rule "Dummy timer rule 2" timer (cron: 0 0 0 * * ?) when Integer() then insert("Dummy timer rule 2"); System.out.println("Dummy timer rule 2"); end Then consider the following steps: insert new Integer advance clock by +1 day Expected result: 3 facts in the working memory, the original Integer, and two String. Actual results: 2 facts in the working memory, the original Integer, and only 1 String, from the former of the two rules.