You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I want to cancel all my on going uploads (operated with TUS plugin) I get this error : Uncaught TypeError: Cannot read property 'progress' of undefined
After checking, this error come from (I think) the Uppy core:
this.on("upload-success",function(t,r){varn=e.getFile(t.id).progress;//// here !!!!!!!!e.setFileState(t.id,{progress: ___extends_95({},n,{uploadComplete: !0,percentage: 100,bytesUploaded: n.bytesTotal}),response: r,uploadURL: r.uploadURL,isPaused: !1}),e._calculateTotalProgress();}),
What I understand by seeing the network processes, is that when the cancel-all event is emitted the running processes are indeed cancel but new ones are created :
You can see on the capture that even if all running processes are canceled, 4 new ones are created (limit: 4 in uppy Tus option). And it is these 4 new ones that generate the errors mentioned above.
This is even more obvious when I pause all uploads before. Everything is paused, and when I click the cancel button, the existing processes are canceled, but 4 new ones are created.
Do you understand what could happen ?
Thanks
The text was updated successfully, but these errors were encountered:
I've just started working on a fix for it last week, it's turning out to be quite tricky but we should be able to get it in before the end of the month.
Hi,
When I want to cancel all my on going uploads (operated with TUS plugin) I get this error :
Uncaught TypeError: Cannot read property 'progress' of undefined
After checking, this error come from (I think) the Uppy core:
What I understand by seeing the network processes, is that when the cancel-all event is emitted the running processes are indeed cancel but new ones are created :
You can see on the capture that even if all running processes are canceled, 4 new ones are created (limit: 4 in uppy Tus option). And it is these 4 new ones that generate the errors mentioned above.
This is even more obvious when I pause all uploads before. Everything is paused, and when I click the cancel button, the existing processes are canceled, but 4 new ones are created.
Do you understand what could happen ?
Thanks
The text was updated successfully, but these errors were encountered: