Bug 724638 (BRMS-546) - Is not possible set facts sub-fields in Test Scenarios
Summary: Is not possible set facts sub-fields in Test Scenarios
Keywords:
Status: ASSIGNED
Alias: BRMS-546
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor)
Version: 5.1.0 GA
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
: future
Assignee: Toni Rikkola
QA Contact: Jiri Locker
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-26 17:57 UTC by Alessandro Lazarotti
Modified: 2018-11-14 14:58 UTC (History)
3 users (show)

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".
Clone Of:
Environment:
Fedora 12, JDK 1.6, BRMS 5.1, Firefox 3.5.6
Last Closed:
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-546 0 Major Closed Is not possible set facts sub-fields in Test Scenarios 2019-03-12 00:11:48 UTC
Red Hat Issue Tracker GUVNOR-1174 0 Critical Resolved Test Scenarios: Is not possible set facts sub-fields 2019-03-12 00:11:48 UTC

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".


Note You need to log in before you can comment on or make changes to this bug.