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
I abort and retry items in batch of 7 items, and got this error
batchHelpers.js:13 Uncaught (in promise) TypeError: Cannot read property 'batch' of undefined
at getBatchFromState (batchHelpers.js:13)
at triggerUploaderBatchEvent (batchHelpers.js:106)
at cleanUpFinishedBatch (batchHelpers.js:98)
at processFinishedRequest.js:65
at processBatchItems.js:94
And all my not uploaded items is disappeared!
Steps to reproduce:
Slow network speed
Upload 10 items in 1 batch on multiply
Abort and retry all of items step by step
Wait then about 20% of items will be uploaded
Items disappeared and you got error
The text was updated successfully, but these errors were encountered:
I've tried reproducing the issue using this story and wasnt able to.
Im also surprised that it threw this error (with that stacktrace) because it means something weird happened with the internal state.
I am adding a conditional so this error shouldnt happen in the future. But again, Im surprised that it did in the first place.
If you can share more of your code so i can better understand how this happened that could help.
Also, I dont understand what you mean by:
And all my not uploaded items is disappeared!
Please explain.
I will just note that you shouldnt rely on the uploader's internal state for building your UI. Uploady will clean up its internal store agressively to maintain the smallest memory footprint possible.
I abort and retry items in batch of 7 items, and got this error
And all my not uploaded items is disappeared!
Steps to reproduce:
The text was updated successfully, but these errors were encountered: