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 |
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 <[hidden email]> > 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 > |
Administrator
|
Thanks Adrian,
Fixed at r892439 Jacques From: "Adrian Cumiskey" <[hidden email]> > 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 <[hidden email]> > >> 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 >> > |
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 <[hidden email]> wrote: > Thanks Adrian, > > Fixed at r892439 > > Jacques > > From: "Adrian Cumiskey" <[hidden email]> >> >> 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 <[hidden email]> >> >>> 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 >>> >> > > |
Idem for
WorkEffort.quantityToProduce TechDataCalendarExcDay.usedCapacity TechDataCalendarExcDay.exceptionCapacity On Sat, Dec 19, 2009 at 2:47 PM, Cimballi <[hidden email]> 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 > <[hidden email]> wrote: >> Thanks Adrian, >> >> Fixed at r892439 >> >> Jacques >> >> From: "Adrian Cumiskey" <[hidden email]> >>> >>> 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 <[hidden email]> >>> >>>> 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 >>>> >>> >> >> > |
Administrator
|
Fixed at r998557 in trunk
Jacques From: "Cimballi" <[hidden email]> > Idem for > WorkEffort.quantityToProduce > TechDataCalendarExcDay.usedCapacity > TechDataCalendarExcDay.exceptionCapacity > > > On Sat, Dec 19, 2009 at 2:47 PM, Cimballi <[hidden email]> 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 >> <[hidden email]> wrote: >>> Thanks Adrian, >>> >>> Fixed at r892439 >>> >>> Jacques >>> >>> From: "Adrian Cumiskey" <[hidden email]> >>>> >>>> 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 <[hidden email]> >>>> >>>>> 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 >>>>> >>>> >>> >>> >> > |
Free forum by Nabble | Edit this page |