Needs review
Project:
Editable Fields
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2011 at 21:42 UTC
Updated:
20 Dec 2020 at 07:37 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
aasarava commentedJust wanted to say that yes, I'm seeing the same problem.
Comment #2
lukusI'm getting the same problem here.
Comment #3
froeser commentedHi, I'm getting a similar problem:
Don't quite know if this is a new problem or the same as described above.
Comment #4
johnvI guess this is only for fields from Media module?
Is this still happening with a newer release of Media?
Comment #5
Yuri commentedstill happening ...
Comment #6
johnvThis is the same as #1233688: Notice: Undefined index: module in editablefields_fallback_formatter()
Comment #6.0
johnverror
Comment #7
OnkelTem commentedI'm not sure this is duplicate as the issue being referenced is about disabling some modules (and lacking formatters).
The real reason of this message is that
file_entitymodule reuses field formatter functions by callinghook_field_formatter_settings_form()but doesn't really work with Field API, mocking $parameters and passing NULL as$field. Buteditablefields_field_formatter_settings_form()and othereditablefieldsfunctions doesn't expect $field to be NULL.Please try this simple patch, which avoids doing anything when $field IS NULL.
Comment #8
skylord commentedWorks OK! Thanks!
Comment #9
josebc commentedpatch works
Comment #10
joelpittetIt's not this module is it? https://www.drupal.org/project/mediafield
Comment #11
skylord commentedNo, it'a about https://www.drupal.org/project/media and https://www.drupal.org/project/file_entity
Comment #12
joelpittetThanks I was able to reproduce the error on simplytest.me. The patch needs a bit of clean up, the nested if is not necessary, and just a bit more tidying. I'll do it soon and commit it unless someone else wants to tackle that?
Comment #13
sokru commentedReroll and tidying.