[jira] [Commented] (OFBIZ-5335) Using type=accounting-number in form in facility generates wrong output for inventory overview

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-5335) Using type=accounting-number in form in facility generates wrong output for inventory overview

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-5335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13783712#comment-13783712 ]

Pierre Smits commented on OFBIZ-5335:
-------------------------------------

When changing 'accounting-number.format' in arithmetic.properties to #.##0,00;(#.##0,00) I get following error.

[java] 2013-10-02 09:04:48,836 (http-bio-0.0.0.0-8443-exec-3) [        ModelScreen.java:401:ERROR] Error rendering screen [component://common/widget/CommonScreens.xml#FindScreenDecorator]: java.lang.IllegalArgumentException: Grouping separator after decimal in pattern "#.##0,00;(#.##0,00)". Rolling back transaction.
     [java] 2013-10-02 09:04:48,837 (http-bio-0.0.0.0-8443-exec-3) [    TransactionUtil.java:378:WARN ]
     [java] ---- exception report ----------------------------------------------------------
     [java] [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening:
     [java] Exception: java.lang.Exception
     [java] Message: Error rendering screen [component://common/widget/CommonScreens.xml#FindScreenDecorator]: java.lang.IllegalArgumentException: Grouping separator after decimal in pattern "#.##0,00;(#.##0,00)"


> Using type=accounting-number in form in facility generates wrong output for inventory overview
> ----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5335
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5335
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>            Reporter: Pierre Smits
>            Priority: Critical
>
> When using locale DE or NL several quantities (ATP, QOH and others) get transformed wrong.
> E.g. a ATP of 250 for a product is 250.00 in locale EN or FR, but for DE and NL the output is 250.000.000,00



--
This message was sent by Atlassian JIRA
(v6.1#6144)