Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload Id get changed in case of multiple Instance created. #5543

Open
2 tasks done
hirenmakwana701 opened this issue Dec 6, 2024 · 0 comments
Open
2 tasks done

Upload Id get changed in case of multiple Instance created. #5543

hirenmakwana701 opened this issue Dec 6, 2024 · 0 comments
Labels
Bug 🐕 Golden Retriever Plugin that handles restoring after browser crash / accidentally closed tab

Comments

@hirenmakwana701
Copy link

hirenmakwana701 commented Dec 6, 2024

Initial checklist

  • I understand this is a bug report and questions should be posted in the Community Forum
  • I searched issues and couldn’t find anything (or linked relevant results below)

Link to runnable example

No response

Steps to reproduce

Pre-Condtion

  1. Multiple Instance of uppy uploader must be created.
  2. uppy.use(GoldenRetriever, { serviceWorker: true }); serviceWorker must be used.
  • Create instance for uploder class
  • Upload large file
  • When upload % is > 5 , Close the browser
  • Now again open browser, Re- select file and check behavior
  • Upload will start from 1%

- I debug and found that upload id get changed when we reelect file

Expected behavior

  • Upload Should Be start from where it stopped.
  • If we use uppy.use(GoldenRetriever, { serviceWorker: true });, In this case re-select option is not visible. if should be visible

Actual behavior

Currently when try to re-upload file it show below error.

MultipartUploader.js:200 Uncaught (in promise) TypeError: Cannot read properties of null (reading ‘size’)
at Pd._initChunks2 (MultipartUploader.js:200:66)
at new MultipartUploader (MultipartUploader.js:168:63)
at index.js:631:20
at new Promise ()
at i._uploadLocalFile2 (index.js:600:10)
at index.js:181:86
at Array.map ()
at value (index.js:161:40)
at i._runUpload2 (Uppy.js:1706:13)
at i.restore (Uppy.js:1149:68)

@hirenmakwana701 hirenmakwana701 changed the title Upload Id get changes in case of multiple Instance created. Upload Id get changed in case of multiple Instance created. Dec 6, 2024
@mifi mifi added the 🐕 Golden Retriever Plugin that handles restoring after browser crash / accidentally closed tab label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐕 Golden Retriever Plugin that handles restoring after browser crash / accidentally closed tab
Projects
None yet
Development

No branches or pull requests

2 participants