Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There is a small issue related to #1558548: Notice: Undefined index: default_image in image_field_prepare_view() that we see in the Panopoly installer. This patch does some better checking against the indexes on the arrays to prevent notices.
Comment | File | Size | Author |
---|---|---|---|
drupal-image_instance_checking-1559696-2.patch | 593 bytes | populist |
Comments
Comment #1
webchickHere's the patch I committed to D7.x-dev to solve this problem: #1558548-4: Notice: Undefined index: default_image in image_field_prepare_view(). Or I think so anyway.
If this patch is needed too, could you cross-post to the Drupal core queue so we can get it incorporated upstream?
Comment #2
esmerel CreditAttribution: esmerel commentedI think I'm seeing this notice on the "Congratulations, you just installed Panopoly" page:
Notice: Undefined index: default_image in image_field_update_instance() (line 501 of ,mysite/panopoly/modules/image/image.module).
If this isn't related, I'll open a new issue,
Comment #3
populist CreditAttribution: populist commentedI am going to postpone this until Beta 4 and check into how this effects Drupal core. My patch solves the basic problem in the install, but if its a larger Drupal thing want to get it in Drupal core queue.
Comment #4
populist CreditAttribution: populist commentedThis issue has been resolved with Drupal 7.15!
Comment #5.0
(not verified) CreditAttribution: commentedUpdated issue summary.