Skip to content

Commit

Permalink
DROOLS-713: BRMS not converting freeform DRL 'val == + 1' correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
manstis committed Feb 16, 2015
1 parent 7d49688 commit cf143ff
Show file tree
Hide file tree
Showing 3 changed files with 265 additions and 633 deletions.
Expand Up @@ -3894,8 +3894,10 @@ private String setValueOnConstraint( final RuleModel m,
new ExpressionFormLine() ) );
con.setConstraintValueType( BaseSingleFieldConstraint.TYPE_EXPR_BUILDER_VALUE );
value = "";
} else {
} else if ( boundParams.containsKey( value ) ) {
con.setConstraintValueType( SingleFieldConstraint.TYPE_VARIABLE );
} else {
con.setConstraintValueType( SingleFieldConstraint.TYPE_RET_VALUE );
}
} else {
if ( value.endsWith( "I" ) ) {
Expand Down

0 comments on commit cf143ff

Please sign in to comment.