Bug 724638 (BRMS-546)

Summary: Is not possible set facts sub-fields in Test Scenarios
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Alessandro Lazarotti <alazarot>
Component: BRM (Guvnor)Assignee: Toni Rikkola <trikkola>
Status: ASSIGNED --- QA Contact: Jiri Locker <jlocker>
Severity: unspecified Docs Contact:
Priority: low    
Version: 5.1.0 GACC: atangrin, lpetrovi, rwagner
Target Milestone: ---   
Target Release: future   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-546
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
It is currently not possible to define a sub-field for facts in test scenarios. For example, "address.city".
Story Points: ---
Clone Of: Environment:
Fedora 12, JDK 1.6, BRMS 5.1, Firefox 3.5.6
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Alessandro Lazarotti 2011-01-26 17:57:49 UTC
Help Desk Ticket Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A0000006GJmG&sfdc.override=1
securitylevel_name: Public

Given the rule:

1.	|	rule "rule4"
2.	|	    dialect "mvel"
3.	|	    when
4.	|	        Person( address.city == "NY" )
5.	|	    then
6.	|	        System.out.println("something")
7.	|	end


Isn't possible define in a test scenario a value for the subfield "address.city".
When is selected a fact in test scenario, and you select a field that is a complex type, it is not clickable, so is not possible set a value for their fields.

Comment 1 Alessandro Lazarotti 2011-01-26 18:03:17 UTC
Link: Added: This issue Cloned from GUVNOR-1174


Comment 2 Rick Wagner 2011-08-25 18:29:47 UTC
GSS prioritizes this 'low'.  Customer is not waiting, no rush.

Comment 3 Anne-Louise Tangring 2011-09-16 13:23:21 UTC
Is this a duplcate of https://bugzilla.redhat.com/show_bug.cgi?id=724640 ?

Comment 4 Toni Rikkola 2012-03-13 11:59:30 UTC
Anne-Louise, no this 724640 is a different issue.

Comment 5 Toni Rikkola 2012-03-13 12:00:23 UTC
I have a fix for this.
https://github.com/droolsjbpm/guvnor/compare/c1b28b2...9998b8a
As you can see the change is big, I can reduce it for the BRMS branch if needed. Just checking if you want it.

Comment 6 Anne-Louise Tangring 2012-03-28 13:24:44 UTC
We will review for the next release. Not in 5.3.

Comment 7 lcarlon 2012-06-08 00:13:23 UTC
    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:
It is currently not possible to define a sub-field for facts in test scenarios. For example, "address.city".