Hello Jacques,
I can't reproduce this error.
Because I implemented the SIPS payment from Atos Origin (remember you)
This error comes from SIPS response servlet.
I'm just cheking with log everywhere, where is the wrong entity type !
I'm going to send you a screenshot
Thanks
Eric
----- Original Message -----
From: "Jacques Le Roux" <[email protected]>
To: <[email protected]>
Sent: Monday, February 02, 2009 10:54 PM
Subject: Re: createPaymentFromPreference : Error modelservice validate
convertuom
Hi Eric,
Are you able to reproduce this error on demo server ?
Jacques
From: "Eric DE MAULDE" <[email protected]>
Hi,
When I call the service : createPaymentFromPreference
*** Error is :
[ ModelService.java:545:ERROR] [ModelService.validate] : {convertUom} :
(IN) Required test error: org.ofbiz.service.ServiceValidationException:
Type check failed for field [convertUom.originalValue]; expected type is
[Double]; actual type is [java.math.BigDecimal]
The entity "OrderPaymentPreference" contains a field "maxAmount" with type
BigDecimal
I put a BigDecimal in : paymentPreference.set("maxAmount", new
BigDecimal(string));
I don't know where does error come from !!
Eric