Problem/Motivation

Using update.php I got

    Notice: Undefined index: type in _advagg_locale_js_alter() (regel 721 van /sites/all/modules/advagg/advagg.module).

Steps to reproduce

Latest Drupal 7.84, latest advagg.dev, Notice appears

Proposed resolution

May be something like: https://www.drupal.org/project/advagg/issues/2757527

Remaining tasks

User interface changes

API changes

Data model changes

Greetings, Martijn

Comments

Summit created an issue. See original summary.

beatrizrodrigues’s picture

Assigned: Unassigned » beatrizrodrigues
beatrizrodrigues’s picture

Assigned: beatrizrodrigues » Unassigned
Status: Active » Needs review
StatusFileSize
new481 bytes

I believe this patch solves the problem. Please, kindly review.

summit’s picture

Hi, Yes the Notice is gone now!. I added this patch to latest .dev version.
Thanks for your solution! Greetings, Martijn

andregp’s picture

Status: Needs review » Reviewed & tested by the community
mikeytown2’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new554 bytes

This patch takes into account that if type is not set, the default is 'file' in https://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_...

mikeytown2’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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