Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.9.6
-
Fix Version/s: 1.10.0
-
Component/s: Zend_File_Transfer
-
Labels:None
Description
The done flag is never being changed to 1. I verified the code and it seems it's only done for the branch using the fileprogress extension.
I could fix it locally. (see patch)
The same fix can be done as a workaround by making the same verification after the call. Zend_File_Transfer_Adapter_Http::getProgress( $id );
$upload['done'] = $upload['total'] == $upload['current'];
However, I am wondering is this change to done should not be made as part of receive() instead.
Patch to apply the same done check to both extensions.