Bug 724429 (BRMS-374) - Cannot set field value to a bound variable if its a basic type
Summary: Cannot set field value to a bound variable if its a basic type
Keywords:
Status: CLOSED NEXTRELEASE
Alias: BRMS-374
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor)
Version: 5.1.0.ER1,5.1.0.ER2,5.1.0.ER3,5.1.0.ER4,5.1.0.CR1
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: 5.0.1 CR2,5.1.0.CR1
Assignee: trev
QA Contact:
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-15 14:22 UTC by Jiri Locker
Modified: 2011-09-20 12:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-08 01:22:08 UTC
Type: Bug


Attachments (Terms of Use)
Screen shot 2010-12-06 at 9.46.46 AM.png (105.35 KB, image/png)
2010-12-06 14:47 UTC, Tihomir Surdilovic
no flags Details
MissingBoundVariable.png (117.76 KB, image/png)
2010-12-07 23:53 UTC, Jiri Locker
no flags Details
BoundVariableWorkarounds.png (136.64 KB, image/png)
2010-12-07 23:53 UTC, Jiri Locker
no flags Details
BoundVariablePresent.png (123.77 KB, image/png)
2010-12-07 23:53 UTC, Jiri Locker
no flags Details
Screen shot 2010-12-07 at 8.18.11 PM.png (55.92 KB, image/png)
2010-12-08 01:20 UTC, Tihomir Surdilovic
no flags Details
Screen shot 2010-12-07 at 8.18.01 PM.png (107.28 KB, image/png)
2010-12-08 01:21 UTC, Tihomir Surdilovic
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-374 0 Major Closed Cannot set field value to a bound variable if its a basic type 2014-01-21 09:59:44 UTC
Red Hat Issue Tracker GUVNOR-351 0 Critical Closed Guvnor 5.0.1 : problem to select a bound variable 2014-01-21 09:59:44 UTC

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


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