Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Release Branch 09.04, Trunk
-
None
-
None
-
demo.ofbiz.org and 9.04 on ubuntu and trunk on XP
Description
Double Passed when BigDecimal expected in two places.
ERROR: Could not complete the Receive Product to Facility file:/demo/deployments/demo-20090603-0306/specialpurpose/hhfacility/script/org/ofbiz/hhfacility/FacilityServices.xml#tc_ReceiveProductQty process [problem invoking the [receiveInventoryProduct] service with the map named [receiveCtx] containing [[facilityId=WebStoreWarehouse, productId=PIZZA, quantityAccepted=199.0, locationSeqId=A1A2L3P4, comments=hhFacility Receipt, datetimeReceived=2009-06-03 09:26:24.781, inventoryItemTypeId=NON_SERIAL_INV_ITEM, quantityRejected=0.0, userLogin=[GenericEntity:UserLogin][createdStamp,2009-06-03 03:11:21.064(java.sql.Timestamp)][createdTxStamp,2009-06-03 03:11:20.832(java.sql.Timestamp)][currentPassword,
{SHA}47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][externalAuthId,null()][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,Europe/Berlin(java.lang.String)][lastUpdatedStamp,2009-06-03 09:12:38.029(java.sql.Timestamp)][lastUpdatedTxStamp,2009-06-03 09:12:38.029(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,demoadmin(java.lang.String)], locale=en_US]]: Type check failed for field [receiveInventoryProduct.quantityAccepted]; expected type is [java.math.BigDecimal]; actual type is [java.lang.Double]Type check failed for field [receiveInventoryProduct.quantityRejected]; expected type is [java.math.BigDecimal]; actual type is [java.lang.Double]]