This is a site with the TU 2.0 version installed on an open social distribution with d8.3.7
The setup:
1) I have a vocabulary "people" with Taxonomy unique switched on
2)I created a field in the this vocabulary that is an entity reference - content type "profile" - and the widget type is inline entity form - complex
with both options to use existing and add new turned on
3)I have created an entity reference field - taxonomy - in a content type "news" with the widget inline entity form - complex
the option for using existing and adding new items is turned on
4) The idea is when I add content in "news" I should be able to add a new taxonomy term in "People" when I add a new node in "profile".
The problem/error/bug:
when Taxonomy unique is turned on the new term/node will not be added
When Taxonomy unique is turned off I can add new node which also becomes a new taxonomy term.
Is this a bug? or a known feature?
When I use Taxonomy unique without the added node reference it works as expected. Which is very nice!!
Comments
Comment #2
pegasus360 commentedAfter further review...
The process of adding both a new taxonomy term and a new content node will work if..
The fields for title/name (textfield) and description (Text Area) that are preloaded in vocabulary (manage form display)
remain in the form with the created field entity reference - content.
If the entity reference - content - is the only field in the 'manage form display' then adding a node nor taxonomy term will not work.
This may be as clear as mud.. but maybe it will help.
Comment #3
sch4lly commentedHi! This answer comes way too late - sorry!
I tried to replicate your scenario but unfortunately I can't replicate the bug - everthing works as it should in my instance. Are you sure you are using TU 8.2? What exactly happens when you try to add a new news node? Is there some kind of error message?
Comment #4
sch4lly commented