Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload broken in 3.1.0 #7131

Closed
robclouth opened this issue Jul 23, 2020 · 1 comment · Fixed by #7136
Closed

Upload broken in 3.1.0 #7131

robclouth opened this issue Jul 23, 2020 · 1 comment · Fixed by #7136
Labels
severity: high If it breaks the basic use of the product source: core:upload Source is core/upload package status: confirmed Confirmed by a Strapi Team member or multiple community members

Comments

@robclouth
Copy link

https://github.com/strapi/strapi/blob/master/packages/strapi-plugin-upload/controllers/upload/api.js

The uploadFiles and replaceFile method are trying to get the request object from ctx.query, when it should be from ctx. This causes a error when it tried to get body on undefined.

@alexandrebodin
Copy link
Member

Nice catch ! Will make a fix asap

@alexandrebodin alexandrebodin added status: confirmed Confirmed by a Strapi Team member or multiple community members severity: high If it breaks the basic use of the product source: core:upload Source is core/upload package labels Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity: high If it breaks the basic use of the product source: core:upload Source is core/upload package status: confirmed Confirmed by a Strapi Team member or multiple community members
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants