Warnings in file_upload_size_limit_element_info_alter

Created on 4 July 2023, over 1 year ago
Updated 3 August 2023, over 1 year ago

Problem/Motivation

Since updating from 1.0.0-alpha2 to 1.0.0-alpha3, we have observed numerous warnings from file_upload_size_limit_element_info_alter

 [warning] Undefined array key "#process" file_upload_size_limit.module:24
 [warning] Trying to access array offset on value of type null file_upload_size_limit.module:24
 [warning] Trying to access array offset on value of type null file_upload_size_limit.module:24

Steps to reproduce

1. Clear the cache
2. Visit any page

Proposed resolution

Defensive coding in file_upload_size_limit_element_info_alter

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom malcomio

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024