Bug 1172228 - Guided rule editor: Only one method call is saved when calling multiple methods on a single variable
Summary: Guided rule editor: Only one method call is saved when calling multiple metho...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER4
: 6.1.0
Assignee: manstis
QA Contact: Jiri Locker
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-09 16:30 UTC by Jiri Locker
Modified: 2020-03-27 18:36 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-27 18:36:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1127303 0 high CLOSED Guided Editor breaks free form DRL which includes setter method with multi parameters 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1176787 0 high CLOSED Unable to use some options for Integer sub-fields in Guided Rule Templates 2021-02-22 00:41:40 UTC

Internal Links: 1127303 1176787

Description Jiri Locker 2014-12-09 16:30:57 UTC
Description of problem:
When multiple method calls on a single bound variable are added to RHS in guided rule editor, only the first method call is rendered in the DRL source. Subsequent method calls either have no effect or can alter the first method call (all method arguments are added to the first method call).

Version-Release number of selected component (if applicable):
6.1.0.ER2

How reproducible:
-

Steps to Reproduce:
1. In GRE, bind variable $var to a String field in LHS.
2. Call $var.indexOf( $var )
3. Call $var.endsWith( "." )
4. Call $var.substring( 0, 1 )

Actual results:
Only the first method call with arguments from all methods:
$var.indexOf( $var, ".", 0, 1 );

Expected results:
Three method calls:
$var.indexOf( $var );
$var.endsWith( "." );
$var.substring( 0, 1 );

Additional info:

Comment 2 Jiri Locker 2015-01-28 14:05:28 UTC
Fix verified in ER4.


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