[MGNLUI-6543] maxUploadSize property doesn't work as expected Created: 02/Feb/21  Updated: 27/Sep/21  Resolved: 12/Aug/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.5
Fix Version/s: 6.2.12

Type: Bug Priority: Neutral
Reporter: Martin Drápela Assignee: Adam Siska
Resolution: Fixed Votes: 2
Labels: VN-Testing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
documentation
to be documented by MGNLUI-6822 DOC: New properties, default values a... Closed
relation
is related to MGNLUI-6390 allowedMimeTypePattern property doesn... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Release notes required:
Yes
Documentation update required:
Yes
Date of First Response:
Epic Link: Migrate Assets
Sprint: UI FW 34
Story Points: 3

 Description   
Edition   Magnolia DX Core
Version (bundle)   6.2.4 (Snapshot: 2020.10.30 12:17:37)

It should be possible to restrict the type of assets for upload.  When using the $type: uploadField with its maxUploadSize property:

  form:
    properties:
      upload:
        $type: uploadField
        maxUploadSize: 1000000

 



 Comments   
Comment by Adam Siska [ 12/Aug/21 ]

RN/DOCu: https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/pull-requests/1841/overview?commentId=83631

Generated at Mon Feb 12 09:37:32 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.