-
Bug
-
Resolution: Done
-
Critical
-
6.1.0
-
None
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:
- is related to
-
RHBRMS-1905 Guided Editor breaks free form DRL which includes setter method with multi parameters
- Verified
-
RHBRMS-1910 Unable to use some options for Integer sub-fields in Guided Rule Templates
- Verified
- relates to
-
RHBRMS-1905 Guided Editor breaks free form DRL which includes setter method with multi parameters
- Verified
-
RHBRMS-1910 Unable to use some options for Integer sub-fields in Guided Rule Templates
- Verified