#2986271: Notice: Undefined index: pattern_picture_template in patternlab_picture_field_attach_view_alter() introduced a regression that, when settings for supplied view_mode is absent, then it doesn't use default settings.

Following patch in the comment should should address the issue.

Comments

D34dMan created an issue. See original summary.

d34dman’s picture

Status: Active » Needs review
StatusFileSize
new1.12 KB

Attaching patch for review.

stmh’s picture

what happens if there's even no config for the default view mode?

  • stmh committed 5fd44ae on 7.x-1.x authored by D34dMan
    Issue #2994581 by D34dMan: Fallback to default view_mode settings if...
stmh’s picture

thanks for the patch -- applied

stmh’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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