[JBoss JIRA] Created: (JBRULES-434) Cannot enter more than one parameter in one column on German computers
by Volker Augustin (JIRA)
Cannot enter more than one parameter in one column on German computers
----------------------------------------------------------------------
Key: JBRULES-434
URL: http://jira.jboss.com/jira/browse/JBRULES-434
Project: JBoss Rules
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Decision tables
Environment: Windows XP, standard GERMAN settings
Reporter: Volker Augustin
Assigned To: Mark Proctor
Section 4.1.4.1 of the JBoss Rules documentation states:
The "$para" place holder is used in templates to indicate where data form the cell will be interpolated. You can also use "$1" to the same effect. If the cell contains a comma seperated list of values, $1 and $2 etc. may be used to indicate which positional parameter from the list of values in the cell will be used.
As the German decimal separator is ',' and not '.' as in the English locale, no list of this form can be entered on a German computer system if there are e.g. only two values and they happen to be integers. E.g. if you try to create the list containing the two values 10 and 20, according to the documentation you must enter '10,20'. This will be interpreted as 10.20 by a German computer and result in a single decimal value instead of a list of two integers.
The separator ',' is hardcoded somewhere (in SnippedBuilder (?) I think). Maybe this can be made configurable. E.g. a "Configuration" section in the Excel spreadsheet would do.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 5 months