FileStorageUpload field not working in Flow UI jmix project when Rest API addon

Hi everyone.

I have a trouble with uploading file using filestorageopload field in Flow UI project when I added Rest API addon to the my project. How can I fix this?
image
When I remove Rest API addon, it works properly and save uploaded file without any issue. Please, can you clarify why it isn’t possible to upload file after rest addon…

Hello!

Thank you for reporting the issue! It’s a known bug that will be fixed in next major release. For now, you can workaround it adding the following code to your configuration class:

@Autowired
private MultipartProperties multipartProperties;

@Bean
public MultipartConfigElement multipartConfigElement() {
    return this.multipartProperties.createMultipartConfig();
}

Also, see FlowUI 1.5 + REST = broken upload (test project included)

1 Like

Thank you very much for your feedback. Problem solved!