Active
Project:
Title
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2011 at 08:01 UTC
Updated:
18 Feb 2013 at 15:41 UTC
Jump to comment: Most recent
when title of term has been replace with name_field
and on the content type the term reference is using autocomplete widget
the new entered name are inserted into the term name (not in name_field)
and do not appear when one views the node
one has to go and edit the term and insert the term name (this time in name_field) and translate the term
Comments
Comment #1
plachThis is a title issue.
Comment #2
maciej lukianski commentedThere are more issues with term reference.
A different scenario of adding term via taxonomy ui.
When a new term with name_field is created the $term->title is empty. When this term is referenced from a node, the link does not appear on the display even though the term is referenced.
Comment #3
plachPlease check with the latest dev of Core, Title and ET (Entity not required anymore).
Comment #4
Anonymous (not verified) commentedI have another compatibility issue with therm reference.
All my content is set up to use English as the main language, then I have translations for all other languages on the site.
If you are viewing a site with a different language, and then edit the node form, which is English, the term names used in autocomplete/tagging term reference fields get the translated name. And when the form is saved, new terms are created using those translated term names.
Since I need this module for my site, and I need this to work properly, and not keep creating new terms if the node is edited when switched to a different language, I came up with a make-shift solution.
I added an element validation callback, similar to how the taxonomy autocomplete does already.
I check the term values to see if any are 'autocreate', then try to find that term name using the current language.
Comment #5
plach#4 is a known issue: #1506054: Taxonomy term reference: language-aware widget and autocomplete.
Comment #6
giorgoskyes OP incompatibilty has been solved but here is another term reference incompatibility which I created here #1920096: Title incompatibility with the entity reference widget
Comment #7
giorgoskI would swear I have seen this working in the past
but now testing again it does not
when you create term with Name replaced with Title field the list of the taxonomy terms (of the particular vocabulary) does not display ANY name (admin/structure/taxonomy/VOCNAME) but when you edit the term
the NAME (title_field) has content in it
maybe this is the same problem as #1920096: Title incompatibility with the entity reference widget ?
should all those taxonomy incompatibilities be dealt in one issue ?
Comment #8
giorgosk