Comment 0 for bug 1071378

Revision history for this message
RĂ©al Carbonneau (real-carbonneau) wrote :

When the "Default Sorting method" for a product category in OpenERP is set to a value other than "Use Config Settings", the following error occurs (see below).

There already seems to be a bug opened and closed for this (Bug #588198), and a reference to another bug (Bug #87631) for which I don't understand the relevance.

As mentioned by others, the workaround is to set the value to "Use Config Settings".

Error with xmlrpc protocole. Error details : error 103 : Default Product Listing Sort by not exists on Available Product Listing Sort By

<class 'xmlrpclib.Fault'>
Traceback (most recent call last):
  File "/opt/openerp/server/openerp/addons/base_external_referentials/decorator.py", line 130, in wrapper
    response = func(self, import_cr, uid, external_session, resource, *args, **kwargs)
  File "/opt/openerp/server/openerp/addons/magentoerpconnect/magerp_osv.py", line 46, in _transform_and_send_one_resource
    return self.mag_transform_and_send_one_resource(cr, uid, external_session, *args, **kwargs)
  File "/opt/openerp/server/openerp/addons/base_external_referentials/external_osv.py", line 1094, in _transform_and_send_one_resource
    return self.send_to_external(cr, uid, external_session, {resource_id : resource}, mapping, mapping_id, update_date, context=context)
  File "/opt/openerp/server/openerp/addons/base_external_referentials/external_osv.py", line 977, in send_to_external
    self.ext_update(cr, uid, external_session, resources_to_update, mapping, mapping_id, context=context)
  File "/opt/openerp/server/openerp/addons/magentoerpconnect/product.py", line 154, in ext_update
    external_session.connection.call('catalog_category.update', [ext_id, resource[main_lang], False])
  File "/opt/openerp/server/openerp/addons/magentoerpconnect/magerp_osv.py", line 222, in call
    res = self.ser.call(self.session, method, arguments)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
    return u.close()
  File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
    raise Fault(**self._stack[0])
Fault: <Fault 103: 'Default Product Listing Sort by not exists on Available Product Listing Sort By'>