Problem/Motivation

To reproduce:

1. Create at least two vocabularies and a term for each one
2. Create entity reference field, target entity type terms
3. Limit to a specific vocabulary
4. Select "Select" widget
5. Create content, should only list term of the selected vocabulary, but it lists both.

Proposed resolution

Remaining tasks

User interface changes

API changes

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Berdir’s picture

Status: Active » Needs review
Issue tags: +Needs tests
FileSize
1.09 KB

So it's the same problem as #2242967: User entity reference filter configuration broken, just for terms :)

Looks like we don't have tests for the term selection handler?

Berdir’s picture

Component: entity_reference.module » taxonomy.module

Bug in taxonomy module then...

Status: Needs review » Needs work

The last submitted patch, 1: entity-reference-term-settings-2028109-1.patch, failed testing.

Berdir’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 1: entity-reference-term-settings-2028109-1.patch, failed testing.

Berdir’s picture

Status: Needs work » Needs review
jhedstrom’s picture

Fix looks solid, but still needs tests.

joachim’s picture

Status: Needs review » Closed (duplicate)
Issue tags: -Needs tests

#2401195: Vocabulary restriction not working in Entity reference fields is newer, but has a patch with tests: closing this one.