ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux" <jacques.le.r...@les7arts.com>
Subject Re: Error of java type in createProduct simple method
Date Sat, 18 Sep 2010 22:05:29 GMT
Fixed at r998557 in trunk

Jacques

From: "Cimballi" <cimballi.cimballi@gmail.com>
> Idem for
> WorkEffort.quantityToProduce
> TechDataCalendarExcDay.usedCapacity
> TechDataCalendarExcDay.exceptionCapacity
> 
> 
> On Sat, Dec 19, 2009 at 2:47 PM, Cimballi <cimballi.cimballi@gmail.com> wrote:
>> Adrian and Jacques,
>>
>> There is the same problem for the following fields :
>> WorkEffort reservPersons, reserv2ndPPPerc, reservNthPPPerc
>>
>> They are defined as "floating-point" = Double, but in the
>> ShoppingCartItem class BigDecimal is used.
>>
>> Cimballi
>>
>>
>> On Sat, Dec 19, 2009 at 1:35 AM, Jacques Le Roux
>> <jacques.le.roux@les7arts.com> wrote:
>>> Thanks Adrian,
>>>
>>> Fixed at r892439
>>>
>>> Jacques
>>>
>>> From: "Adrian Cumiskey" <adrian.cumiskey@gmail.com>
>>>>
>>>> Hi Cimballi,
>>>>
>>>> Yes this is a bug in the OFBiz 09.04 release. It has since been fixed in
>>>> trunk in revision r771477. Its probably easiest to change the type
>>>> "Integer" to "Long" in ProductServices.xml until the next release.
>>>>
>>>> Adrian Cumiskey.
>>>>
>>>> 2009/12/19 Cimballi <cimballi@cimballi.net>
>>>>
>>>>> Hi,
>>>>>
>>>>> I think the is an error of java type in the simple method
>>>>> "createProduct" in the file
>>>>>
>>>>>
>>>>> "applications/product/script/org/ofbiz/product/product/ProductServices.xml".
>>>>> The line is : <set field="newEntity.billOfMaterialLevel" value="0"
>>>>> type="Integer"/>
>>>>> But the field "billOfMaterialLevel" is specified as numeric = Long in
>>>>> the "entitymodel.xml" file.
>>>>>
>>>>> Cimballi
>>>>>
>>>>
>>>
>>>
>>
>


Mime
View raw message