When the options module is disabled, these errors appear:

Notice: Undefined index: label in field_ui_widget_type_options() (line 1438 of modules/field_ui/field_ui.admin.inc).

Since the options module is not a hard-dependency, I think it's sensible to check if the module is available before providing the addition field widget options.

#1 check-options-1396850-1.patch995 byteshelior
PASSED: [[SimpleTest]]: [MySQL] 66 pass(es). View
Members fund testing for the Drupal project. Drupal Association Learn more


helior’s picture

Status: Active » Needs review
995 bytes
PASSED: [[SimpleTest]]: [MySQL] 66 pass(es). View
helior’s picture

Title: Assuming option field widget are available » Assuming option field widgets are available

Typo in title.

Damien Tournoud’s picture

Status: Needs review » Fixed

Thanks for the patch.

Merged into 7.x-1.x. Not sure why it took so much time :)

Status: Fixed » Closed (fixed)

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