Comment 6 for bug 876312

Revision history for this message
Matteo Parolini - Tecnica Informatica (matteq) wrote :

using the branch https://code.launchpad.net/~magentoerpconnect-community/magentoerpconnect/openerp6.1-legacy-module-fix_available_sort_by_mag1.7 , after changing referential version to Magento Version 1.7.0.0+ and reloading the mappings, exporting the catalog still causes errors :

2012-07-20 07:59:56,942 6359 ERROR ? openerp.addons.base_external_referentials.external_osv: UPDATE ERROR: <Fault 103: 'Default Product Listing Sort by not exists on Available Product Listing Sort By'>
Traceback (most recent call last):
  File "/home/openerp/addons/magento/base_external_referentials/external_osv.py", line 933, in ext_update
    self.try_ext_update(cr, uid, data, conn, method, oe_id, external_id, ir_model_data_id, create_method, context)
  File "/home/openerp/addons/magento/magentoerpconnect/product.py", line 222, in try_ext_update
    return conn.call(method, [external_id, data])
  File "/home/openerp/addons/magento/magentoerpconnect/magerp_osv.py", line 106, 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'>
2012-07-20 07:59:56,947 6359 INFO ? openerp.addons.base_external_referentials.external_osv: may be the resource doesn't exist any more in the external referential, trying to re-create a new one
2012-07-20 07:59:57,888 6359 ERROR ? openerp.addons.base_external_referentials.external_osv: Failed to Update in External Ref product.category from OpenERP with external_id 2 and OpenERP id 3