[OFBiz] Users - Error in xml file.
Rupert Howell
ruperthowell at a14bha.co.uk
Wed Dec 1 14:58:54 EST 2004
The quick fix has done the trick, thanks Jacopo.
Regards,
Rupert
-----Original Message-----
From: users-bounces at lists.ofbiz.org
[mailto:users-bounces at lists.ofbiz.org] On Behalf Of Jacopo Cappellato
Sent: 01 December 2004 18:43
To: OFBiz Users / Usage Discussion (High Traffic)
Subject: Re: [OFBiz] Users - Error in xml file.
Rupert,
I don't know what to say... my previous patch was awful!!
The attached patch SHOULD be the right one.
However for a quick fix (you can do it without restarting OFBIZ), just
replace line 574 of file
"ofbiz/components/product/script/org/ofbiz/product/product/ProductServic
es.xml"
with the following one:
<string-to-field string="PRODUCT_VARIANT"
field-name="productAssocTypeId"
map-name="variantsFindContext"/>
Let me know if you have problems and sorry again!
Jacopo
----- Original Message -----
From: "Rupert Howell" <ruperthowell at a14bha.co.uk>
To: "'OFBiz Users / Usage Discussion (High Traffic)'"
<users at lists.ofbiz.org>
Sent: Wednesday, December 01, 2004 7:12 PM
Subject: RE: [OFBiz] Users - Error in xml file.
> Hi everyone.
>
> I've just done an update and I'm getting the following error:
>
> 655398[ UtilXml.java:629:ERROR] XmlFileLoader: File
>
file:/E:/ofbiz/components/product/script/org/ofbiz/product/product/Produ
> ctServices.xml process error. Line: 574. Error message:
> cvc-complex-type.3.2.2: Attribute 'to-field-name' is not allowed to
> appear in element 'string-to-field'.
>
> 655398[ UtilXml.java:629:ERROR] XmlFileLoader: File
>
file:/E:/ofbiz/components/product/script/org/ofbiz/product/product/Produ
> ctServices.xml process error. Line: 574. Error message:
> cvc-complex-type.3.2.2: Attribute 'to-map-name' is not allowed to
appear
> in element 'string-to-field'.
>
> 655398[ UtilXml.java:629:ERROR] XmlFileLoader: File
>
file:/E:/ofbiz/components/product/script/org/ofbiz/product/product/Produ
> ctServices.xml process error. Line: 574. Error message:
> cvc-complex-type.4: Attribute 'field-name' must appear on element
> 'string-to-field'.
>
> When I try to look at an item.
>
> Then sometimes I get an error about "cannot find the declaration of
> element 'ofbiz-ser'"
>
>
> I'm also getting a load of socket connection errors at what appears to
> be random times - I've always had these though - are they normal?
>
>
> Kind Regards,
> Rupert
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/users
More information about the Users
mailing list