Skip to content

Conversation

@nedjo
Copy link

@nedjo nedjo commented Aug 29, 2015

Currently the Drupal 7 expand() method in ListTextHandler examines the values in allowed_values. If a field has an allowed_values_function set, an incorrect list of allowed values is examined.

There doesn't appear to be equivalent Drupal 8 code.

Commit f879b5e addresses this issue by drawing allowed values from an allowed_values_function, if set.

Commit 6b003c1 roughs in possible testing (untested!).

@nedjo
Copy link
Author

nedjo commented Aug 29, 2015

Already covered in #46, closing.

@nedjo nedjo closed this Aug 29, 2015
@dawehner
Copy link
Contributor

dawehner commented Oct 8, 2015

IMHO the tests are still helpful to get in

@jhedstrom
Copy link
Owner

Yeah, the tests here would be awesome.

@jhedstrom jhedstrom reopened this Oct 8, 2015
@jhedstrom jhedstrom added this to the 1.2.0 release milestone Oct 27, 2015
@jhedstrom jhedstrom modified the milestones: 2.0, 1.2.0 release Jun 16, 2016
@jhedstrom jhedstrom modified the milestones: 2.0, 2.1 Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants