CenterForOpenScience / waterbutler

WaterButler is a Python web application for interacting with various file storage services via a single RESTful API, developed at Center for Open Science.
Apache License 2.0
62 stars 76 forks source link

[HotFix] [SVCS-913] Fix Conflict Handling For Dropbox Contiguous Upload #364

Closed cslzchen closed 6 years ago

cslzchen commented 6 years ago

Ticket

https://openscience.atlassian.net/browse/SVCS-913

Purpose

A bug was introduced during dropbox chunked upload where the argument conflict is not passed along from _upload()to _contiguous_upload() and _chunked_upload(). This bug led to all requests made to the dropbox upload API missing the mode parameter in the required header Dropbox-API-Arg.

See https://github.com/CenterForOpenScience/waterbutler/pull/347/files#diff-c3a345e63f19827819cde3a30cae89d6L262 and https://github.com/CenterForOpenScience/waterbutler/pull/347/files#diff-c3a345e63f19827819cde3a30cae89d6L255

Changes

Side effects

No

QA Notes

Should this be Dev QA? @felliott

Deployment Notes

No

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.002%) to 91.841% when pulling 094d79005904cc03ec1dc60ca9174e8c79843eeb on cslzchen:hotfix/dropbox-api-arg into 848283eaf4b558d1e7a2afb145dadf166a5a1199 on CenterForOpenScience:master.

cslzchen commented 6 years ago

@felliott