Page 1 of 1

BUG in jBatchUpload - uploading folders with "chunkmode"

Posted: Mon Nov 02, 2009 6:42 pm
by Bogdan
When uploading a folder, summary of the folder that contains to total number of files in it updates with each uploaded file. BUG: number of files decreases with every uploaded chunk instead of updating with every completed file.

Steps to reproduce:
1) Configure jBatchUpload with "chunkmode=onfly", specify "chunksize"
2) Create / locate a folder that has N files inside (N > 1), with file sizes greater than the specified chunksize
3) Add a folder to jBatchUpload, it will show "FOLDERNAME [N files]"
4) Start uploading

after the 1st chunk of the 1st file is uploaded, jBatchUpload will show "FOLDERNAME [M files]", where M = N - _number_of_uploaded_chunks_ = N - 1. But the 1st file isn't completely uploaded yet, just the 1st chunk of it! It should be M = N - _number_of_completely_uploaded_files_

It would be nice to see this fixed!
Thank you.

Re: BUG in jBatchUpload - uploading folders with "chunkmode"

Posted: Mon Nov 02, 2009 6:57 pm
by support
We're going to try to reproduce the problem.

Re: BUG in jBatchUpload - uploading folders with "chunkmode"

Posted: Wed Nov 04, 2009 7:45 pm
by support
Problem reproduced and fixed in 2.5 planned for November.

Re: BUG in jBatchUpload - uploading folders with "chunkmode"

Posted: Thu Nov 05, 2009 7:53 pm
by Bogdan
Thank you, I'm looking forward to this bug fix.

We have, we have fixed this internally, which also addresses the problem of "upload completed (N files)" status message where N was number of chunks rather than number of original files. But we still would like to have YOUR bug fix as I assume it will be more elegant.

Re: BUG in jBatchUpload - uploading folders with "chunkmode"

Posted: Thu Nov 05, 2009 9:30 pm
by support
You can send your fix to support(at)jfileupload(dot)com so we can see which solution is the best ;)

Re: BUG in jBatchUpload - uploading folders with "chunkmode"

Posted: Fri Nov 06, 2009 3:13 am
by Bogdan
I'm attaching it here!