We're updating the issue view to help you get more done. 

Bad request when trying to uploadDeployment /repository/deployments

Description

Steps to reproduce:
1) Download artifacts https://www.activiti.org/download-links
2) Deploy to Tomcat
3) Make curl

1 2 3 4 curl --request POST --url http://localhost:8081/activiti-app/api/repository/ deployments --header 'authorization: Basic YWRtaW46dGVzdA==' --header 'content -type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' -- form file=@submission-inAuthQuery.bpmn

expected: file uploaded
actual: 400 Bad Request: Multipart request is required

Additional Info:
Endpoint expects MultipartHttpServletRequest but got SecurityContextHolderAwareRequestWrapper

Environment

Win7 x64
Tomcat 9.0.0M20

Status

Assignee

Bassam Al-Sarori

Reporter

Александр Родионов

Labels

None

Components

Affects versions

6.0

Priority

Major