You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Paul Foxworthy (JIRA)" <ji...@apache.org> on 2014/04/13 11:13:14 UTC
[jira] [Created] (OFBIZ-5616) Incorrect Java 6 integer format in
updateProductAverageCostOnReceiveInventory
Paul Foxworthy created OFBIZ-5616:
-------------------------------------
Summary: Incorrect Java 6 integer format in updateProductAverageCostOnReceiveInventory
Key: OFBIZ-5616
URL: https://issues.apache.org/jira/browse/OFBIZ-5616
Project: OFBiz
Issue Type: Bug
Components: product
Affects Versions: SVN trunk
Reporter: Paul Foxworthy
Assignee: Paul Foxworthy
Priority: Minor
In updateProductAverageCostOnReceiveInventory (https://fisheye6.atlassian.com/browse/ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml?hb=true#to587), there's a call to set-calendar with a "seconds" parameter of +1. The seconds value is passed to Integer.parseInt. A leading plus works in Java 7, but causes an exception in Java 6. Every other call to set-calendar in OFBiz with a positive value does not have a leading plus sign.
--
This message was sent by Atlassian JIRA
(v6.2#6252)