Bug 724323 (BRMS-268)

Summary: Mortgages example rules broken
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jaroslaw Kijanowski <kijanowski>
Component: ExamplesAssignee: Jervis Liu <jliu>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: high    
Version: 5.0.2CC: mproctor
Target Milestone: ---   
Target Release: 5.0.2   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-268
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-21 11:39:27 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:
Attachments:
Description Flags
Screenshot.png none

Description Jaroslaw Kijanowski 2010-03-17 12:31:13 UTC
Date of First Response: 2010-03-31 03:19:02
securitylevel_name: Public

I have a fresh repo, install the mortgages sample (when asked after logging in).
Go to Knowledge Bases -> mortgages -> Business rule assets -> Bankruptcy history

The THEN part has "Set value of explanation" but the value is empty. If you press 'View Source" you will notice that the explanation is set:

a.setExplanation( "has been bankrupt" );

Present also in other rules (no NINJAs, Underage, No bad credit checks).

CheckBoxDslRule is empty and this has been reported in GUVNOR-393.

This is not a regression.

Comment 1 Jaroslaw Kijanowski 2010-03-17 12:34:10 UTC
Attachment: Added: Screenshot.png


Comment 2 Dana Mison 2010-03-31 07:19:02 UTC
Need clarification on this JIRA for the release notes:

In the rule samples referred to above (Bankruptcy History, No Ninjas, Underage and no bad credit checks) setExplanation did not display the textbox & value in the guided editor although it does appear correctly in the source.

Does this only affect the samples?  If you add this into the rule from the guided editor it seems to work ok.

Are there other scenarios that users will encounter this with ?

I am still seeing this behavior in CR1 so I am unsure as to how to document this further 

Comment 3 Jaroslaw Kijanowski 2010-03-31 07:24:38 UTC
This should be fixed in CR2.

Comment 4 Jervis Liu 2010-03-31 12:28:20 UTC
This issue has been fixed in CR2. It only affects samples. There is no other scenario that users may encounter this. 

Comment 5 Jaroslaw Kijanowski 2010-04-21 11:39:27 UTC
verified in 5.0.2 CR2