Allows editing content even if previously included files exceed the file size limit

Created on 20 January 2023, almost 2 years ago
Updated 15 May 2024, 6 months ago

Problem/Motivation

A previously uploaded file in file field should not be validated every time the host entity is saved.

Steps to reproduce

* Create a media or other type of entity with a file field
* Create entity and upload a file of a certain size X kb
* Set the Maximum upload size to a value * Edit the entity, hit the Save button
* Error is displayed that the The file is exceeding the maximum file size

Proposed resolution

One option would be to detect whether a file is new, and only check in that case.

Not sure if there is any benefit in the current behaviour.

Remaining tasks

  • Implementation

User interface changes

None

API changes

Unknown

Data model changes

Release notes snippet

Allows editing content even if previously included files exceed the file size limit

Feature request
Status

Needs work

Version

11.0 🔥

Component
File module 

Last updated about 18 hours ago

Created by

miiimooo Europe

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024