Page MenuHomePhabricator

ApiUpload calls the UploadFromX object's verifyUpload() incorrectly
Closed, ResolvedPublic

Description

Patch against r53755 to fix the bug

The Upload classes' verifyUpload method apparently takes no options and returns either an integer status or an array with the 'status' element set to the status. But the API calls it as if it took a variable reference and returned the status with any other details set into the reference variable.


Version: 1.16.x
Severity: normal

Attached:

Details

Reference
bz19931

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:43 PM
bzimport set Reference to bz19931.

Bryan.TongMinh wrote:

Cleaned up ApiUpload in r55613.