BUG in jBatchUpload - uploading folders with "chunkmode"

Enhanced frontend add-on to queue files.
Post Reply
Bogdan
Posts: 12
Joined: Wed Oct 14, 2009 10:56 pm

BUG in jBatchUpload - uploading folders with "chunkmode"

Post 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.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

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

Post by support »

We're going to try to reproduce the problem.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

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

Post by support »

Problem reproduced and fixed in 2.5 planned for November.

Bogdan
Posts: 12
Joined: Wed Oct 14, 2009 10:56 pm

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

Post 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.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

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

Post by support »

You can send your fix to support(at)jfileupload(dot)com so we can see which solution is the best ;)

Bogdan
Posts: 12
Joined: Wed Oct 14, 2009 10:56 pm

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

Post by Bogdan »

I'm attaching it here!

Post Reply