Page MenuHomePhabricator

Chunked uploads returning continue instead of success
Closed, ResolvedPublic

Assigned To
Authored By
bzimport
Feb 13 2013, 1:56 AM
Referenced Files
F10498: 5_Response.txt
Nov 22 2014, 1:22 AM
F10497: 5_Request.txt
Nov 22 2014, 1:22 AM
F10494: 4_Request.txt
Nov 22 2014, 1:22 AM
F10496: 4_Response.txt
Nov 22 2014, 1:22 AM
Subscribers

Description

Author: M8R-udfkkf

Description:
When you upload the entire file in the first stash post, the upload status returned is 'Continue' instead of 'Success'

Also, if you post an empty chunk to a previously stashed file (that's fully uploaded), you get

{"servedby":"mw1142","error":{"code":"stashfailed","info":"Could not write to temporary file."}}

you should get a success.


Version: 1.21.x
Severity: normal

Details

Reference
bz44923

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:22 AM
bzimport set Reference to bz44923.

(In reply to comment #0)

When you upload the entire file in the first stash post

Also, if you post an empty chunk to a previously stashed file (that's fully
uploaded)

For both cases a small testcases is very welcome, so it's clear that everybody uses the same calls, parameters, values when trying to reproduce the problem.

M8R-udfkkf wrote:

Stash file in one post-Request

Attached:

M8R-udfkkf wrote:

Stash file in one post-Response

Attached:

M8R-udfkkf wrote:

Add nothing to fully stashed file-Request

Attached:

M8R-udfkkf wrote:

Add nothing to fully stashed file-Response

Attached:

anomie: Your patch was merged, can this bug report be closed as FIXED?