Bug 724753 (BRMS-596)
| Summary: | Drools should not allow set two rules with the same name for the same package | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Alessandro Lazarotti <alazarot> |
| Component: | BRE (Expert, Fusion) | Assignee: | Nobody <nobody> |
| Status: | CLOSED UPSTREAM | QA Contact: | Marek Baluch <mbaluch> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.1.0 GA | CC: | mproctor |
| Target Milestone: | --- | ||
| Target Release: | BRMS 5.3.0.GA | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/BRMS-596 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
JBoss BRMS does not allow multiple rules with the same name in a package. When a second rule with the same name as another rule is added to a package it replaces the original rule, however, JBoss BRMS did not warn the user this was occurring. This has been resolved by adding warnings with 'INFO', 'WARN', and 'ERROR'. When configured with the ERROR severity for rule and function replacement, package compilation will fail.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-02-10 03:13:59 UTC | Type: | Feature Request |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Alessandro Lazarotti
2011-06-02 02:09:38 UTC
Link: Added: This issue Cloned to BRMS-597 Customer is watching BZs, but issue is not a show-stopper. GSS calls this 'medium'. https://issues.jboss.org/browse/JBRULES-3063 was already fixed by Edson Tirelli, so changing assignee and changing status to MODIFIED. Please verify the issue on 5.3 ER4. Verified in 5.3 ER4.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
JBoss BRMS does not allow multiple rules with the same name in a package. When a second rule with the same name as another rule is added to a package it replaces the original rule, however, JBoss BRMS did not warn the user this was occurring. This has been resolved by adding warnings with 'INFO', 'WARN', and 'ERROR'. When configured with the ERROR severity for rule and function replacement, package compilation will fail.
The [1] which is above comments referred, but page can not found which click it. I also can not found in BRMS 5.3.1 docs as [2] [1] http://docs.redhat.com/docs/en-US/JBoss_Enterprise_SOA_Platform/5/html/JBoss_Rules_5_Reference_Guide/chap-language_reference.html#sect-rule [2] https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_BRMS_Platform/5/html/JBoss_Rules_5_Reference_Guide/index.html As [1] hints the issue is fixed in drools 5.3.0.Final, but I test via BRMS 5.3.0 the issue still existed [1] https://issues.jboss.org/browse/JBRULES-3063 Can you please clarify how you tested? By default, BRMS does allow rule replacement... it will only raise errors when the engine is configured to raise errors for rule duplication. This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |