[
https://jira.jboss.org/browse/JBRULES-2597?page=com.atlassian.jira.plugin...
]
Lars R�ckemann updated JBRULES-2597:
------------------------------------
Description:
In the german locale "," is used as decimal seperator.
When using a "," in a localized spreadsheet drools does not parse this as a
number but tries to read two arguments instead.
Attached sheet has the following Rule Compilation error:
The method set(String, Object) in the type RegelErgebnis is not applicable for the
arguments (String, int, int)
This error comes from coulumn G of the spreadsheet when trying to execute action:
ergebnis.set(String, Object);
This fails as $param is read as two int values instead of an Object.
was:
In the german locale "," is used as decimal seperator.
When using a "," in a localized spreadsheet drools does not parse this as a
number but tries to read two arguments instead.
Attached sheet has the following Rule Compilation error:
The method set(String, Object) in the type RegelErgebnis is not applicable for the
arguments (String, int, int)
This error comes from coulumn G of the spreadsheet when trying to execute action:
ergebnis.set(String, Object);
This fails as $param is read as two int values instead of in Object.
Decision table only supports "." as decimal seperator
-----------------------------------------------------
Key: JBRULES-2597
URL:
https://jira.jboss.org/browse/JBRULES-2597
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-decisiontables
Affects Versions: 5.0.1.FINAL
Environment: localized version of Excel with decimal seperator set to
"," instead of "." (German locale settings)
Windows XP Pro
MsOffice 2007 - Spreadsheet saved in MsOffice 97 .xls format
Reporter: Lars R�ckemann
Assignee: Mark Proctor
Attachments: TEST.xls
In the german locale "," is used as decimal seperator.
When using a "," in a localized spreadsheet drools does not parse this as a
number but tries to read two arguments instead.
Attached sheet has the following Rule Compilation error:
The method set(String, Object) in the type RegelErgebnis is not applicable for the
arguments (String, int, int)
This error comes from coulumn G of the spreadsheet when trying to execute action:
ergebnis.set(String, Object);
This fails as $param is read as two int values instead of an Object.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira