When i edit my "large" media_gallery gallery i got the following error message

Notice: Undefined index: form_id in multiform_get_form() (regel 50 van ......

Yes it's translated to Dutch, but i think you get the message.

In my opinion it's always good to check an array index before you check it's value. So here's my patch that does exactly that.. I haven't got the time to check the complete function..

CommentFileSizeAuthor
#2 multiform-1979168-2.patch615 bytestobiasb
#1 multiform-extra_check_on_array_index-1979168-1.patch900 bytesAnonymous (not verified)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

and here's the patch

tobiasb’s picture

Title: Editing the media gallery » Undefined index: form_id in multiform_get_form()
FileSize
615 bytes

I could not apply the patch therefore I created a new one.

noslokire’s picture

Status: Needs review » Reviewed & tested by the community

#2 Worked for us.

  • Commit a8f8ae4 on 7.x-1.x by kalman.hosszu:
    Issue #1979168 by tobiasb, willembressers: Fixed Undefined index:...
kalman.hosszu’s picture

Assigned: » Unassigned
Issue summary: View changes
Status: Reviewed & tested by the community » Fixed

Thanks for the work, it's fixed in 7.x-1.1.

Status: Fixed » Closed (fixed)

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