When all synchronize translations options for some content type switched on except File attachments and after submitting node translation with language specific attachment receive warning:

user warning: Duplicate entry '5-4' for key 1 query: INSERT INTO upload (fid, nid, vid, list, description, weight) VALUES (4, 5, 5, 1, 'zapr_en.pdf', 0) in C:\xampplite\htdocs\pampuh.local\sites\all\modules\i18n\i18nsync\i18nsync.module on line 122.

and files attached successfully.
Need just remove this warning.

Comments

jose reyero’s picture

Status: Active » Fixed

This is working in latest 6.x-dev.

Plus: files are not removed anymore when one of the translations is deleted.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.