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.
Comment | File | Size | Author |
---|---|---|---|
#2 | term_references_empty_2715581-2.patch | 526 bytes | clairedesbois@gmail.com |
Comments
Comment #2
clairedesbois@gmail.comComment #3
clairedesbois@gmail.comComment #4
clairedesbois@gmail.comComment #5
pifagoroutdated patch, fixed in another issue
Comment #6
pifagor