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

Pegasus360 created an issue. See original summary.

pegasus360’s picture

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

sch4lly’s picture

Status: Active » Postponed (maintainer needs more info)

Hi! 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?

sch4lly’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)