[ https://issues.apache.org/jira/browse/OFBIZ-4972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepak Dixit updated OFBIZ-4972: -------------------------------- Attachment: OFBIZ-4972-10.04.patch OFBIZ-4972.patch Here is the patch to fix the issue. Cause: Update order items service not able to parse the price/quantity that are in comma format. Fix: Used ObjectType.simpleTypeConvert method to convert price/quantity string to BigDecimal instead of using BigDecimal constructor. > NumberFormateException while update order items. > ------------------------------------------------ > > Key: OFBIZ-4972 > URL: https://issues.apache.org/jira/browse/OFBIZ-4972 > Project: OFBiz > Issue Type: Bug > Components: order > Reporter: Deepak Dixit > Fix For: Release Branch 10.04, Release Branch 11.04, SVN trunk, > Release Branch 12.04 > > Attachments: OFBIZ-4972-10.04.patch, OFBIZ-4972.patch > > > If order item price or quantity is greater then 999 then update order items > service throw NumberFormateException. > Steps to regenerate: > - Create an order(SO/PO). > - Edit order items, set order price 1000 and update order items. > - Again edit order items and try to update price from (1,000 to 1,002). > System will throw NPE and if same will perform for quantity then it will > throw NumberFormateException on console. > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira