I'm using FAQ and FAQ Ask, along with Entity Translation and Title modules.
Steps to reproduce:
- Enable Entity Translation and add a second language
- Make the FAQ content type field translatable
- Replace the Title with a Title Field so that it is translatable
- Make the body field translatable
- Create a question
- Click the translate tab
- Click "add" for your secondary language
- See duplicate title and body fields
When you edit the original or if you edit a translation that has already been saved then everything works fine.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | faq_duplicate-fields-when-translating-2215865-1.patch | 868 bytes | jojonaloha |
| faq_duplicate-fields-screenshot.png | 60.58 KB | jojonaloha |

Comments
Comment #1
jojonaloha commentedThe attached patch removes the field_attach_form() call from faq_form(). Everything appears to work fine without it and the duplicate fields are gone on the translation form. I think the reason is that when this is called on the translation form, the "English" fields were being added as well as the ones for the language being translated.
Comment #2
sanchiz commentedComment #4
podarokCommited, thanks!