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

File uploading with form-data not properly merge fields arrays names #2

Open
weierophinney opened this issue Dec 31, 2019 · 2 comments

Comments

@weierophinney
Copy link
Contributor

When I send a PUT method with an array and under that same name I upload an image(file) is not merged with the array that I have normal data and same name.
Check my Failure test

@weierophinney @solcre

Thanks!


Originally posted by @diego-sorribas at zfcampus/zf-content-negotiation#91

@weierophinney
Copy link
Contributor Author

@diego-sorribas Could you do the following, please:

  • Rewrite the test. Instead of adding setup and assertions to an existing test, create a new test method so we can isolate this particular behavior.
  • Once you've done so, please submit a pull request with that failing test.

At that point, I can start looking into it. Or you can. 😄

Thanks!


Originally posted by @weierophinney at zfcampus/zf-content-negotiation#91 (comment)

@weierophinney
Copy link
Contributor Author

Thanks, lesson learned. I already made the pull request, I hope it's good!


Originally posted by @diego-sorribas at zfcampus/zf-content-negotiation#91 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant