Respect the file limit

Created on 21 October 2024, 3 months ago

Problem/Motivation

In the Webform module it is possible to set a max file size on individual file elements (ref. 🐛 Fix querying for maxFileSize of uploaded files Active ), but there is also a possibility to set a file upload limit per form. If the total size of uploaded files exceeds this limit the webform submission validation fails.

This is controlled by the form_file_limit setting in the webform configuration, and the global setting settings.default_form_file_limit.

Proposed resolution

We should also reject form submissions that exceeds the form file limit if the form is submitted through GraphQL.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇧🇬Bulgaria pfrenssen Sofia

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

Comments & Activities

Production build 0.71.5 2024