I'm using FAQ and FAQ Ask, along with Entity Translation and Title modules.

Steps to reproduce:

  1. Enable Entity Translation and add a second language
  2. Make the FAQ content type field translatable
  3. Replace the Title with a Title Field so that it is translatable
  4. Make the body field translatable
  5. Create a question
  6. Click the translate tab
  7. Click "add" for your secondary language
  8. 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.

Screenshot of duplicate fields on add translation form

Comments

jojonaloha’s picture

Status: Active » Needs review
StatusFileSize
new868 bytes

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

sanchiz’s picture

Assigned: Unassigned » sanchiz

  • podarok committed f23237b on 7.x-1.x authored by jojonaloha
    Issue #2215865 by jojonaloha: Fixed Duplicate fields displayed when...
podarok’s picture

Status: Needs review » Fixed

Commited, thanks!

Status: Fixed » Closed (fixed)

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