File size limitation

Hello!
After migrating my project from jmix 2.3 to 2.4.1, I encountered an issue with large file uploads. Previously, I had configured the following properties in application.properties:
spring.servlet.multipart.max-file-size=-1
spring.servlet.multipart.max-request-size=-1
This setup worked perfectly fine in Jmix 2.3. However, after the migration, I get the following error when uploading large files StorageUploadField: File is too large, Max file size = 100 MB

Hello,

In 2.4.1 additional limitation for local file storage has been introduced.

Use application property jmix.localfs.max-file-size.
Value should be in format compatible with org.springframework.util.unit.DataSize.
Default is 100MB.

Regards,
Ivan

Thank you! it works with jmix.localfs.max-file-size= -1

For me, using Jmix 2.7, it does not work, even if I use

jmix.awsfs.use-path-style-bucket-addressing=true
jmix.localfs.max-file-size=-1

I’m trying to upload to upload a 2MB photo file to local S3 compatible (minios) in this view: inventoryhelper/src/main/java/com/company/inventoryhelper/view/asset/AssetDetailView.java at master · edurbs/inventoryhelper · GitHub
The full project is here: GitHub - edurbs/inventoryhelper