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).

CommentFileSizeAuthor
#3 0001-quickfix-for-1462046.patch1.14 KBgeek-merlin

Comments

geek-merlin’s picture

er... it always saves an empty id...
and, yes, i cleared cache.

geek-merlin’s picture

Priority: Normal » Critical

ok 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.

geek-merlin’s picture

StatusFileSize
new1.14 KB

here's the quickfix.

geek-merlin’s picture

Status: Active » Reviewed & tested by the community

revert of critical that worksforme
daring to set rtbc

d0t15t’s picture

patch works correctly for me, thanks!

kalis1’s picture

It worked for me too.
Thank you !

msamavi’s picture

Worked for me as well, thanks!

vasyok’s picture

Thanks! It's work!

checker’s picture

confirm patch is working

philipz’s picture

I had different error while adding second plugin but applying this patch fixed my issue.

twistor’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

Sorry for the delay.

This was fixed in #1436320: Integrity constraint violation.