Bug 724429 (BRMS-374)

Summary: Cannot set field value to a bound variable if its a basic type
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jiri Locker <jlocker>
Component: BRM (Guvnor)Assignee: trev <tkirby>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: high    
Version: 5.1.0.ER1, 5.1.0.ER2, 5.1.0.ER3, 5.1.0.ER4, 5.1.0.CR1CC: tsurdilo
Target Milestone: ---Keywords: Regression
Target Release: 5.0.1 CR2, 5.1.0.CR1   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-374
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-08 01:22:08 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
Screen shot 2010-12-06 at 9.46.46 AM.png
none
MissingBoundVariable.png
none
BoundVariableWorkarounds.png
none
BoundVariablePresent.png
none
Screen shot 2010-12-07 at 8.18.11 PM.png
none
Screen shot 2010-12-07 at 8.18.01 PM.png none

Description Jiri Locker 2010-09-15 14:22:26 UTC
Affects Testing: Regression
securitylevel_name: Public

It is not possible to set the field's value to a bound variable in case the field's type is one of the basic types: Whole number (integer) / Decimal number / Text / True or False / Date.

Comment 1 Jiri Locker 2010-09-15 14:22:58 UTC
Link: Added: This issue depends GUVNOR-351


Comment 2 Jiri Locker 2010-09-15 14:23:40 UTC
This issue was not present in BRMS 5.0.2

Comment 3 Anne-Louise Tangring 2010-11-09 16:21:41 UTC
Len to check in ER3.


Comment 4 Len DiMaggio 2010-11-29 17:39:52 UTC
Jiri confirms this bug is present in ER4

Comment 5 Len DiMaggio 2010-11-29 19:05:42 UTC
Affects Testing: Added: [Regression]


Comment 6 Jiri Locker 2010-12-01 18:47:32 UTC
Link: Added: This issue depends GUVNOR-1113


Comment 7 Jiri Locker 2010-12-01 18:49:27 UTC
Link: Removed: This issue depends GUVNOR-351 


Comment 8 Jiri Locker 2010-12-01 18:49:52 UTC
Link: Added: This issue related GUVNOR-351


Comment 9 Tihomir Surdilovic 2010-12-06 14:47:55 UTC
shows that you can indeed assign variable constraints on these fields now.

Comment 10 Tihomir Surdilovic 2010-12-06 14:47:55 UTC
Attachment: Added: Screen shot 2010-12-06 at 9.46.46 AM.png


Comment 11 Tihomir Surdilovic 2010-12-06 14:48:30 UTC
Done

Comment 12 Jiri Locker 2010-12-07 23:31:08 UTC
The problem is not to bind a variable to a field of basic type, but to set such field's value to the bound variable.

Comment 13 Jiri Locker 2010-12-07 23:53:31 UTC
BoundVariablePresent.png shows that 'Bound Variable' button is available if using non-basic types.

MissingBoundVariable.png shows that the button is missing when using basic types. This is inconsistent behaviour.

BoundVariableWorkarounds.png shows that there are two other ways to create the rule with intended condition.

Comment 14 Jiri Locker 2010-12-07 23:53:31 UTC
Attachment: Added: MissingBoundVariable.png
Attachment: Added: BoundVariableWorkarounds.png
Attachment: Added: BoundVariablePresent.png


Comment 15 Tihomir Surdilovic 2010-12-08 01:20:17 UTC
Sorry about the confusion. Fixed now (uploading screenshots of fix as well).


Comment 16 Tihomir Surdilovic 2010-12-08 01:20:55 UTC
Attachment: Added: Screen shot 2010-12-07 at 8.18.11 PM.png


Comment 17 Tihomir Surdilovic 2010-12-08 01:21:09 UTC
Attachment: Added: Screen shot 2010-12-07 at 8.18.01 PM.png


Comment 18 Tihomir Surdilovic 2010-12-08 01:22:08 UTC
Done