| Summary: | Serialization of working memories for rulebases with Accumulates are failing | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | nwallace <nwallace> |
| Component: | unspecified | Assignee: | Edson Tirelli <ed.tirelli> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Target Release: | 5.0.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/BRMS-152 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-09-01 12:17:35 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: | |
Link: Added: This issue is related to JBRULES-1855 Fix in place. For the errata in the release notes, we require details of: The CAUSE (what was actually broken) The FIX (what was changed to eliminate this bug) and CONSEQUENCES of the fix (how this benefits users.) Dot point explanations are fine. We are still awaiting the outstanding information for the Release Notes on this one. Please provide it as soon as possible. Thanks. The CAUSE (what was actually broken) * Accumulate statements with multiple inner patterns (Person and Cheese in the above example) require the creation of subnetworks in the Rete network. The creation of a subnetwork requires the addition of a RightInputAdapterNode to merge the subnetwork back into the main network. The serialization algorithm was not handling RightInputAdapterNodes properly. CONSEQUENCES of the bug (how it impacts users.) * when users tried to serialize a KnowledgeBase containing subnetworks (e.g., accumulate with multiple inner patterns), the serialization would fail with various errors. The FIX (what was changed to eliminate this bug) and * The serialization code was changed to properly handle the RightInputAdapterNode RESULTS of the fix (what now happens for users.) * Serialization of KnowledgeBases containing subnetworks now work fine. |
Date of First Response: 2009-09-10 00:21:57 securitylevel_name: Public Serialization of working memories with rules like this are failing: rule "Test sum" salience 80 dialect "java" when $sum : Number( doubleValue >= 10 ) from accumulate( Person( $likes : likes ) and Cheese( type == $likes, $price : price ), sum( $price ) ); then results.add( $sum ); end