Problem/Motivation

If a broken image (e.g. file deleted but db entry is still there) is processed this leads to notices like this:
Notice: Trying to get property of non-object in theme_picture() (line 879 of picture.module)..
This due the fact that image_load() returns FALSE for broken images.

Proposed resolution

Skip processing if image_load() returns FALSE and create a watchdog entry.

Remaining tasks

Needs review.

User interface changes

none

API changes

none

Comments

attiks’s picture

Status: Needs review » Fixed

  • attiks committed 22463f3 on 7.x-2.x authored by das-peter
    Issue #2287789 by das-peter: Fixed Broken images lead to notices.
    

Status: Fixed » Closed (fixed)

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