after inserting a second rewrite rule:
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '' for key 'PRIMARY': INSERT INTO {feeds_tamper} (id, importer, source, plugin_id, settings, weight, description) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6); Array ( [:db_insert_placeholder_0] => [:db_insert_placeholder_1] => proficlass [:db_insert_placeholder_2] => parent_id [:db_insert_placeholder_3] => rewrite [:db_insert_placeholder_4] => a:1:{s:4:"text";s:49:"Proficlass-[klassifikationssystem_id]-[parent_id]";} [:db_insert_placeholder_5] => 1 [:db_insert_placeholder_6] => Proficlass-[klassifikationssystem_id]-[parent_id] ) in drupal_write_record() (Zeile 6888 von /home/xl/workspace/stipro/includes/common.inc).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 0001-quickfix-for-1462046.patch | 1.14 KB | geek-merlin |
Comments
Comment #1
geek-merliner... it always saves an empty id...
and, yes, i cleared cache.
Comment #2
geek-merlinok it's this line
http://drupalcode.org/project/feeds_tamper.git/blob/refs/heads/7.x-1.x:/...
from this commit
http://drupalcode.org/project/feeds_tamper.git/commitdiff/6ca63cdb246d33...
which sets ID to NULL and has to be partially reverted.
setting to critical as this makes dev unusable.
Comment #3
geek-merlinhere's the quickfix.
Comment #4
geek-merlinrevert of critical that worksforme
daring to set rtbc
Comment #5
d0t15t commentedpatch works correctly for me, thanks!
Comment #6
kalis1It worked for me too.
Thank you !
Comment #7
msamavi commentedWorked for me as well, thanks!
Comment #8
vasyok commentedThanks! It's work!
Comment #9
checker commentedconfirm patch is working
Comment #10
philipz commentedI had different error while adding second plugin but applying this patch fixed my issue.
Comment #11
twistor commentedSorry for the delay.
This was fixed in #1436320: Integrity constraint violation.