Error when receiving inventory
------------------------------
Key: OFBIZ-2078
URL: https://issues.apache.org/jira/browse/OFBIZ-2078
Project: OFBiz
Issue Type: Bug
Components: product
Affects Versions: SVN trunk
Environment: demo.hotwaxmedia.com
Reporter: Erwan de FERRIERES
hi all,
when running seleniums on our local server, we found an error that I've
reproduced on the demo server.
https://demo.hotwaxmedia.com/facility/control/ReceiveInventory
When we want to receive inventory, we get this error (cf screenshot for the
color !).
The Following Errors Occurred:
Error:
Error:Error trying to begin transaction, could not process method: The current
transaction is marked for rollback, not beginning a new transaction and
aborting current operation; the rollbackOnly was caused by: Error in
simple-method [Update Order Status From ShipmentReceipt
[file:/demo/deployments/demo.hotwaxmedia.com/applications/order/script/org/ofbiz/order/order/OrderSimpleMethods.xml#updateOrderStatusFromReceipt]]:
; [Error with comparison in if-compare-field between fields
[.orderItem.quantity] with value [2.0] and
[.totalsMap.${receipt.orderItemSeqId}] with value [null] with operator
[less-equals] and type [Double]: , Right value is null, cannot complete compare
for the operator less-equals] calling service balanceInventoryItems in
receiveInventoryProduct
Error trying to begin transaction, could not process method: The current
transaction is marked for rollback, not beginning a new transaction and
aborting current operation; the rollbackOnly was caused by: Error in
simple-method [Update Order Status From ShipmentReceipt
[file:/demo/deployments/demo.hotwaxmedia.com/applications/order/script/org/ofbiz/order/order/OrderSimpleMethods.xml#updateOrderStatusFromReceipt]]:
; [Error with comparison in if-compare-field between fields
[.orderItem.quantity] with value [2.0] and
[.totalsMap.${receipt.orderItemSeqId}] with value [null] with operator
[less-equals] and type [Double]: , Right value is null, cannot complete compare
for the operator less-equals]
Error trying to begin transaction, could not process method: The current
transaction is marked for rollback, not beginning a new transaction and
aborting current operation; the rollbackOnly was caused by: Error in
simple-method [Update Order Status From ShipmentReceipt
[file:/demo/deployments/demo.hotwaxmedia.com/applications/order/script/org/ofbiz/order/order/OrderSimpleMethods.xml#updateOrderStatusFromReceipt]]:
; [Error with comparison in if-compare-field between fields
[.orderItem.quantity] with value [2.0] and
[.totalsMap.${receipt.orderItemSeqId}] with value [null] with operator
[less-equals] and type [Double]: , Right value is null, cannot complete compare
for the operator less-equals]
We don't have time yet to resolve the issue, if someone wants to look at it, no
problem :)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.