Bug 1271909
| Summary: | ActivationLogEvent does not contain information about a bind variable which is not used in the rule | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Hisao Furuichi <hfuruich> | ||||
| Component: | BRE | Assignee: | Mario Fusco <mfusco> | ||||
| Status: | CLOSED EOL | QA Contact: | Marek Winkler <mwinkler> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.1.0 | CC: | kverlaen, rrajasek | ||||
| Target Milestone: | CR1 | ||||||
| Target Release: | 6.2.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-03-27 19:06:21 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: | |||||||
| Attachments: |
|
||||||
Verified in BRMS 6.2.0 CR1. |
Created attachment 1083134 [details] Drools Project created on JBDS 8.1 Description of problem: If a bind variable is not used in the rule, ActivationLogEvent does not log the information about it in <declarations> element. Version-Release number of selected component (if applicable): BRMS 6.1.3 Steps to Reproduce: 1. Import Drools Project with JBDS 8.1 2. Run the program 3. Refresh the project 4. Check audit.log Actual results: ActivationLogEvent does not contain the info about "myMessage" variable in <declarations> element. sample.drl === rule "Hello World" when m : Message( status == Message.HELLO, myMessage : message ) then m.setMessage( "Goodbye cruel world" ); m.setStatus( Message.GOODBYE ); end === Audit.log === <org.drools.core.audit.event.ActivationLogEvent> <type>4</type> <activationId>Hello World [1]</activationId> <rule>Hello World</rule> <declarations>m=com.sample.DroolsTest$Message@5e0fae9</declarations> <factHandleIds>1</factHandleIds> </org.drools.core.audit.event.ActivationLogEvent> === Expected results: All of variables in a rule will be logged in ActivationLogEvent Additional info: With BRMS 5.3.1, information about all of bind variables are logged in ActivationLogEvent.