import shop orders infinite loop rel, uncaught exceptions

Bug #995682 reported by Kyle Waid
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Magento OpenERP Connector
Fix Released
Undecided
Unassigned

Bug Description

Some commit between revision 586 and 605 breaks shop import. No orders are created, but the info and customer info is called over and over in an infinite loop.

Revision history for this message
Kyle Waid (midwest) wrote :

I was only able to produce it in one system, Put this on hold

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

I was able to produce the problem by checking create invoice in multichannels payment configuration. The order on magento has no invoice. It looks like if there is some reason for exception, that it infinite loops itself. now I have been able to reproduce. Just one of 10-20 other issues.

Revision history for this message
Kyle Waid (midwest) wrote :

I can also produce the problem if there is something wrong with a customer account. Instead of raising an exception it will continue to get the same record over and over, it never raises exception or tells the reason for the error. It is possible to reproduce the problem in multiple ways.

summary: - import shop orders infinite loop
+ import shop orders infinite loop rel, customer info
summary: - import shop orders infinite loop rel, customer info
+ import shop orders infinite loop rel, uncaught exceptions
Changed in magentoerpconnect:
status: Incomplete → New
Revision history for this message
Nicolas BLANC (nipola8) wrote :

I am in the same case on my platform Here some logs:

2012-05-07 12:29:23,869 9165 WARNING ? openerp.loglevels: notifyChannel API shouldn't be used anymore, please use the standard `logging` module instead.
2012-05-07 12:29:23,869 9165 INFO ? openerp.loglevels.deprecated.ext synchro: Created in OpenERP res.partner from External Ref with external_id 21657 and OpenERP id 12651 successfully
2012-05-07 12:29:24,027 9165 WARNING ? openerp.loglevels: The netsvc.Logger API shouldn't be used anymore, please use the standard `logging.getLogger` API instead.
2012-05-07 12:29:24,198 9165 WARNING ? openerp.loglevels: The netsvc.Logger API shouldn't be used anymore, please use the standard `logging.getLogger` API instead.
2012-05-07 12:29:24,340 9165 WARNING ? openerp.loglevels: The netsvc.Logger API shouldn't be used anymore, please use the standard `logging.getLogger` API instead.
2012-05-07 12:29:24,448 9165 WARNING ? openerp.loglevels: notifyChannel API shouldn't be used anymore, please use the standard `logging` module instead.
2012-05-07 12:29:24,448 9165 INFO ? openerp.loglevels.deprecated.ext synchro: Created in OpenERP res.partner from External Ref with external_id 21658 and OpenERP id 12652 successfully
2012-05-07 12:29:24,593 9165 WARNING ? openerp.loglevels: The netsvc.Logger API shouldn't be used anymore, please use the standard `logging.getLogger` API instead.
2012-05-07 12:29:24,768 9165 WARNING ? openerp.loglevels: The netsvc.Logger API shouldn't be used anymore, please use the standard `logging.getLogger` API instead.
2012-05-07 12:29:24,918 9165 WARNING ? openerp.loglevels: The netsvc.Logger API shouldn't be used anymore, please use the standard `logging.getLogger` API instead.

If i can help to correct this bug... Tell me how, i will do it.

Revision history for this message
Kyle Waid (midwest) wrote :

I saw some commit that may be related, core editors do we have any progress on this bug? Thanks

Revision history for this message
Guewen Baconnier @ Camptocamp (gbaconnier-c2c) wrote :

Any error on an order import will now be logged in the "external report logs" and the import will no more be stucked.

Changed in magentoerpconnect:
status: New → Fix Released
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.