After installing the accessibility module, several errors are thrown on the features creation page.
Notice: Undefined index: name in features_compare_component_name() (line 1374 of {dir}/sites/all/modules/contrib/features/features.admin.inc).
Notice: Undefined index: name in features_compare_component_name() (line 1374 of {dir}/sites/all/modules/contrib/features/features.admin.inc).
Notice: Undefined index: name in features_compare_component_name() (line 1374 of {dir}/sites/all/modules/contrib/features/features.admin.inc).
Notice: Undefined index: name in features_compare_component_name() (line 1374 of {dir}/sites/all/modules/contrib/features/features.admin.inc).
Notice: Undefined index: name in features_compare_component_name() (line 1374 of {dir}/sites/all/modules/contrib/features/features.admin.inc).
Notice: Undefined index: name in features_compare_component_name() (line 1374 of {dir}/sites/all/modules/contrib/features/features.admin.inc).
Warning: uasort() [function.uasort]: Array was modified by the user comparison function in _features_export_build() (line 502 of {dir}/sites/all/modules/contrib/features/features.admin.inc).
This is because the features module is looking for a name property defined in hook_features_api().
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | accessibility-2221601-2-features-fix.patch | 7.04 KB | pirog |
| #1 | accessibility-2221601-1-features-fix.patch | 470 bytes | randallknutson |
Comments
Comment #1
randallknutson commentedPatch attached.
Comment #2
pirog commentedHere is another patch against the latest dev and also with the t() convention that seems to be commonly used for the "name" attribute of a features component definition.
Comment #3
btopro commentedConfirming this knocks this out, wow this has been plaguing me for over a year and didn't realize it was this simple a fix :)
Comment #4
pifagor commentedComment #6
pifagor commented