We have a field "News type" on a content News. This is a term references field. Term in this field exist in english but they're not translated in french.

Since we have update in alpha8, when we add or edit a news in french, the select list is filled with blank line for each term instead of display english term.

I've look the code and I find it's the function title_entity_label() in title.module which return empty list through title_field_text_sync_get which return a value NULL if the field have no value in the asked language.

I just add a line to use the name of the entity as value if the field have no value.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Calystod created an issue. See original summary.

clairedesbois@gmail.com’s picture

Status: Active » Reviewed & tested by the community
FileSize
526 bytes
clairedesbois@gmail.com’s picture

Status: Reviewed & tested by the community » Needs review
clairedesbois@gmail.com’s picture

Assigned: clairedesbois@gmail.com » Unassigned
pifagor’s picture

Status: Needs review » Fixed

outdated patch, fixed in another issue

pifagor’s picture

Status: Fixed » Closed (fixed)