- Status changed to Fixed
over 2 years ago 5:22am 17 January 2023 Automatically closed - issue fixed for 2 weeks with no activity.
An error is displayed when editing an entity reference field for the Commerce Coupon module:
Notice: Undefined index: type in media_form_field_ui_field_edit_form_alter() (line 375 of /sites/all/modules/media/media.module).
This is due to $form['instance']['widget']['type']
not being defined for the default coupon field.
I've included a patch for fixing this in the Media module, but can also understand if the position is this really should be defined in Commerce Coupon. I'm not really sure why they chose to create the entity field without defining a type, other than it wasn't really needed.
See attached, thanks.
Fixed
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.