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