Product open magento fields bug

Bug #1028084 reported by Paul Catinean
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magento OpenERP Connector
Incomplete
Undecided
Unassigned

Bug Description

Server Traceback (most recent call last):
  File "/opt/openerp/web/addons/web/common/http.py", line 593, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/opt/openerp/server/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openerp/server/openerp/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/server/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/opt/openerp/server/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp/server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp/server/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openerp/extra/magento-6.1/magentoerpconnect/magentoerpconnect/product.py", line 1016, in fields_view_get
    cr, uid, field_names, context)
  File "/opt/openerp/extra/magento-6.1/magentoerpconnect/magentoerpconnect/product.py", line 867, in redefine_prod_view
    attribute = results.pop()
IndexError: pop from empty list

Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote :

on which branch are you observing this?

Changed in magentoerpconnect:
status: New → Incomplete
Revision history for this message
Kyle Waid (midwest) wrote :

This happens when you have no attributes imported

Revision history for this message
Paul Catinean (wiz-keed) wrote :

I think that's just what i did that time and how it got fixed after, you're right!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.