After updating to 7.x-1.3, I get the following error when viewing content types that use this module:
Notice: Undefined index: module in field_default_prepare_view() (line 151 of [...]/modules/field/field.default.inc).
This is occurring because field_tokens_field_display_alter() sets all the fields to visible without adding the module to the array.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | module_undefined-2543548-5.patch | 825 bytes | jesss |
| #1 | module_undefined-2543548-1.patch | 654 bytes | jesss |
Comments
Comment #1
jesss commentedPatch attached.
Comment #2
decipheredHi jesss,
Seems legitimate, but could you provide reproduction steps, as I haven't seen that issue come up? I'd like to confirm the issue and fix before committing the patch.
Comment #4
decipheredPatch seems to have been created incorrectly. Refer to the instructions at https://www.drupal.org/project/field_tokens/git-instructions (Creating a patch).
Comment #5
jesss commentedI'm using Field Tokens in conjunction with WYSIWYG Fields (it's a dependency). To recreate:
I've re-rolled the patch against 7.x-1.x-dev.
Comment #6
decipheredComment #8
decipheredPatch is still created incorrectly and won't apply, however if you are having trouble I will re-roll myself once I re-produce the issue.
Comment #9
decipheredThanks for the reproduction steps, it's definitely an issue and I will get the fix committed ASAP.
Comment #11
decipheredFixed and committed, and a Test implemented for specified usecase.
Thanks for the bug report.