Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#1 | entity-reference-term-settings-2028109-1.patch | 1.09 KB | Berdir |
Comments
Comment #1
BerdirSo 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?
Comment #2
BerdirBug in taxonomy module then...
Comment #4
Berdir1: entity-reference-term-settings-2028109-1.patch queued for re-testing.
Comment #6
Berdir1: entity-reference-term-settings-2028109-1.patch queued for re-testing.
Comment #7
jhedstromFix looks solid, but still needs tests.
Comment #8
joachim CreditAttribution: joachim commented#2401195: Vocabulary restriction not working in Entity reference fields is newer, but has a patch with tests: closing this one.