]
Michael Neale closed JBRULES-938.
---------------------------------
Fix Version/s: 4.0.0.MR4
Resolution: Done
Assignee: Michael Neale (was: Mark Proctor)
Conditions with multiple parameters aren't always correctly
parsed in decision tables
-------------------------------------------------------------------------------------
Key: JBRULES-938
URL:
http://jira.jboss.com/jira/browse/JBRULES-938
Project: JBoss Rules
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Decision tables
Affects Versions: 4.0.0.MR2, 3.0.6
Reporter: Fabien Lafarge
Assigned To: Michael Neale
Fix For: 4.0.0.MR4
When the first parameter ($1) is present at the beginning of a condition (example rule:
"$1! = $2"), SpreadsheetCompiler will not replace parameters with their values
in SnippetBuilder.build(...), shouldn't
if ( this._template.indexOf( SnippetBuilder.PARAM_PREFIX + "1" ) > 0 ) {
be replaced with
if ( this._template.indexOf( SnippetBuilder.PARAM_PREFIX + "1" ) >= 0 ) {
?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: