magentoerpconnect/openerp6.1-legacy-module: foreign key error when importing product links
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magento OpenERP Connector |
Fix Committed
|
Undecided
|
Alexandre Fayolle - camptocamp |
Bug Description
2012-07-24 12:05:40,256 24557 INFO ? openerp.
2012-07-24 12:05:40,260 24557 ERROR ? openerp.sql_db: bad query: insert into "product_link" (id,"linked_
Traceback (most recent call last):
File "/srv/openerp/
res = self._obj.
IntegrityError: insert or update on table "product_link" violates foreign key constraint "product_
DETAIL: Key (linked_
2012-07-24 12:05:40,266 24557 ERROR openerp_
L'opération n'a pas pu être terminée, probablement à la suite d'une :
- suppression : vous avez essayer de supprimer un enregistrement auquel d'autres enregistrements font référence
- création/
The error message (in french) is about a problem of FK. note that the product is reported as created on 1st line of the log.
Related branches
- Guewen Baconnier @ Camptocamp: Approve
- OpenERP Committers: Pending requested
-
Diff: 25 lines (+6/-1)1 file modifiedbase_external_referentials/external_osv.py (+6/-1)
- Guewen Baconnier @ Camptocamp: Approve
- MagentoERPConnect core editors: Pending requested
-
Diff: 67 lines (+26/-7)1 file modifiedmagentoerpconnect/product.py (+26/-7)
Changed in magentoerpconnect: | |
assignee: | nobody → Alexandre Fayolle @ camptocamp (alexandre-fayolle-c2c) |
Changed in magentoerpconnect: | |
status: | New → Fix Committed |