← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 887183] Re: generating costs of a product XML error

 

*** This bug is a duplicate of bug 885299 ***
    https://bugs.launchpad.net/bugs/885299

** This bug has been marked a duplicate of bug 885299
   Product Cost Structure report crashes on &

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/887183

Title:
  generating costs of a product XML error

Status in OpenERP Server:
  New

Bug description:
  I want to create a cost of product But I get an XML error.
  The products do not contain the & sign.

  This is the error message:
  ERROR:web-services:[16]: XMLSyntaxError: xmlParseEntityRef: no name, line 4, column 39
  ERROR:web-services:[01]: Exception: xmlParseEntityRef: no name, line 4, column 39
  ERROR:web-services:[02]: Traceback (most recent call last):
  ERROR:web-services:[03]:   File "/opt/openerp/server/bin/service/web_services.py", line 724, in go
  ERROR:web-services:[04]:     (result, format) = obj.create(cr, uid, ids, datas, context)
  ERROR:web-services:[05]:   File "/opt/openerp/server/bin/report/interface.py", line 90, in create
  ERROR:web-services:[06]:     rml = self.create_rml(cr, xml, uid, context)
  ERROR:web-services:[07]:   File "/opt/openerp/server/bin/report/interface.py", line 179, in create_rml
  ERROR:web-services:[08]:     transform(etree.fromstring(xml)))
  ERROR:web-services:[09]:   File "lxml.etree.pyx", line 2532, in lxml.etree.fromstring (src/lxml/lxml.etree.c:48270)
  ERROR:web-services:[10]:   File "parser.pxi", line 1545, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:71812)
  ERROR:web-services:[11]:   File "parser.pxi", line 1424, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:70673)
  ERROR:web-services:[12]:   File "parser.pxi", line 938, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:67442)
  ERROR:web-services:[13]:   File "parser.pxi", line 539, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:63824)
  ERROR:web-services:[14]:   File "parser.pxi", line 625, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:64745)
  ERROR:web-services:[15]:   File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64088)

  It is a fresh installation of 6.0.3 on Ubuntu 10.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/887183/+subscriptions


References