Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
4.5.5, 4.6.1
-
None
Description
Preconditions:
Created content type with required field textline and non required file (max file size is empty).
Steps:
- Create content item with content type from preconditions.
- Fill the textline and upload a file bigger than 5 MB.
- Click Publish.
- Go to Content structure/Content types/Content and edit content type from preconditions.
- Set max file size for file for ex: 2 MB. Save.
- Go to edit mode of content item created in step 2.
- Edit textline.
- Click Publish.
Actual result:
File field is cleared, validation message is displayed. It works the same for image and media field.
Expected result:
File should not be removed, except when user upload a new one.
UX comment: Validation should appear with info that file is too big. Image shouldn't be removed.