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

Created on 20 January 2023, over 1 year ago
Updated 15 May 2024, about 1 month 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 3 days 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.69.0 2024