How to reproduce:

  1. install Taxonomy and Name modules
  2. create a new vocabulary "test_title_option" with few terms
  3. create a new entity type (e.g. a node)
  4. add to this entity a "name" field, that use the following text as options: [vocabulary:test_title_option]
  5. save the field

What we see:

  • an error id displayed, that says: "title options is required"

What we should see:

  • the field overview page with a message that says that the field has been successfully saved
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

B-Prod’s picture

Status: Active » Needs review
FileSize
1.97 KB

The patch below fixes this, and an other related bug: the regular expression in the function _name_field_get_options() is wrong.

  • Commit d614771 on 7.x-1.x by webflo:
    Issue #2071691 by B-Prod: Using a vocabulary for some component options...
webflo’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
Issue summary: View changes
Issue tags: +Needs tests

Looks good. Thanks B-Prod!

Needs patch for D8 ...

Alan D.’s picture

Thanks to you both! I have had no free time to look at my project queues!

@webflo
I try to use the author flag on the commits to tag the users with a commit credit to help stimulate community effort (when I remember to) if they do not use format-patch. This is just adding the "Git attribution" from the users page to the commit.

git commit --author="bprod <bprod@407852.no-reply.drupal.org>" -m "Issue..."

Cheers again

B-Prod’s picture

Status: Needs review » Needs work

Set as "Need work" for D8.

webflo’s picture

Status: Needs work » Needs review
FileSize
1.84 KB
Alan D.’s picture

  • Alan D. committed 122b2a0 on 8.x-1.x
    Issue #2071691 by B-Prod, webflo, Alan D.: Using a vocabulary for some...
Alan D.’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.