[
http://jira.jboss.com/jira/browse/JBRULES-434?page=all ]
Michael Neale closed JBRULES-434.
---------------------------------
Resolution: Won't Fix
Don't want to fix this, would rather deprecate the comma feature. This is a i18n
nightmare, confusion around "," and "." in Europe makes this a
configuration nightmare which helps noone. Best to not use the comma seperation, unless
someone submits a patch.
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: Michael Neale
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