Hi.
After updating to the latest dev version of commerce_feeds this message appeared
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'FeedsCommerceCouponProcessor-class' for key 'PRIMARY': INSERT INTO {registry} (name, type, filename, module, weight) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4); Array ( [:db_insert_placeholder_0] => FeedsCommerceCouponProcessor [:db_insert_placeholder_1] => class [:db_insert_placeholder_2] => sites/all/modules/commerce_feeds/plugins/FeedsCommerceCouponProcessor.inc [:db_insert_placeholder_3] => commerce_feeds [:db_insert_placeholder_4] => 0 ) in _registry_parse_file() (line 179 of /home/immort16/public_html/mybaladeur/includes/registry.inc).
I also updated to the latest version of feeds
Comment | File | Size | Author |
---|---|---|---|
#3 | fixed_missing_module_exist_check-1459924-3.patch | 1.16 KB | PatchRanger |
Comments
Comment #1
frixos12 CreditAttribution: frixos12 commentedMoved back to recommended version and error disappeared
Comment #2
pcambraCommerce coupon had feeds integration and it was moved into commerce feeds, so if you use both dev versions of the modules it should be fine.
Comment #3
PatchRanger CreditAttribution: PatchRanger commentedI had a similar problem.
Symptoms :
After updating commerce_feeds to latest dev I got this error message instead of every page on my site :
How to reproduce :
Reason :
Small investigation resulted in commerce_feeds.module file : it has a feeds plugin declaration for coupon processing - but I don't have commerce_coupon installed. That is the reason of this error.
I think that my problem is related to this topic because of theese reasons :
The difference between my case and this one is in the state of commerce_coupon module : Frixos had it installed and I don't. That is why error message are different.
How to solve :
Voila! It works! :)
Please review the patch.
Comment #4
checker CreditAttribution: checker commentedThank you Staratel. Bug is fixed.
Comment #5
PatchRanger CreditAttribution: PatchRanger commentedGlad to hear.
We need at least one more success story to mark this patch as "reviewed & tested by the community".
Comment #6
checker CreditAttribution: checker commentedI'm wondering because the "older" versions of feeds have no problems with current commerce_feeds version. Maybe it is not the root of the problem just to check if the coupon module is enabled?!
Comment #7
PatchRanger CreditAttribution: PatchRanger commentedSee comment #2 above.
As you could see in commit histories Commerce Coupon Feeds support was moved on the 3rd of February from Commerce Coupon (Commerce Coupon commit history) to Commerce Feeds (Commerce Feeds commit history).
That is why all releases elder than this date are working fine together while those are newer are resulting in this error.
Comment #8
pcambraThis is definitely a go. I'll commit it asap.
Comment #9
pcambraCommited, many thanks!