/[Apache-SVN]
ViewVC logotype

Revision 1705004


Jump to revision: Previous Next
Author: jleroux
Date: Thu Sep 24 07:02:17 2015 UTC (8 years, 6 months ago)
Changed paths: 1
Log Message:
A patch from Oleg Andreyev for "Errors in ProductSummary.groovy" https://issues.apache.org/jira/browse/OFBIZ-6652

In all releases the code in ProductSummary.groovy tries to collect prices for variants. Doing so it use NumberFormat.format() to transform base price into string that is part of an embed JS snippet. In case purchase order this price is rather empty. Using null with formatting method cause error. You may see this error in the trunk if you starts PO and and try Browser Categories->Widgets->Small Widgets. This price should appear if you select Select Units of Measure for WG-1111 but currently this does not work.
I'm not sure these prices make sense for purchase orders but my goal was just fix ugly error message. Solution display N/A if price is not available. 

Changed paths

Path Details
Directoryofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductSummary.groovy modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26