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

The very first chunk is not getting uploaded #1831

Open
10 of 18 tasks
subhashreehazra opened this issue Feb 1, 2023 · 0 comments
Open
10 of 18 tasks

The very first chunk is not getting uploaded #1831

subhashreehazra opened this issue Feb 1, 2023 · 0 comments

Comments

@subhashreehazra
Copy link

subhashreehazra commented Feb 1, 2023

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest master branch of bootstrap-fileinput.
  • This is not an usage question. I confirm having read the plugin documentation and demos.
  • This is not a general programming / coding question. (Those should be directed to the webtips Q & A forum).
  • I have attempted to find the simplest possible steps to reproduce the issue.
  • I have included a failing test as a pull request (Optional).

Steps to reproduce the issue

  1. Go to Resumable Uploads Demo in plugins.krajee.com for file-input plugin.
  2. Open Network tab by doing an inspect element on the same page.
  3. Upload a zip file, large enough, under Resumable Scenario # 1 an keep and eye on network tab.

Expected behavior and actual behavior

When I follow those steps, I see that the upload url is called recursively with every chunk to upload, status being pending , with gradually changes to status 200, except the very first chunk. The status stays pending which changes to status 400 and the upload fails.
I tried to implement this plugin in my web application and ran into the same issue.
I was expecting all the chunks to get uploaded having status 200.

KRAJEE

krajee1

Screenshot 2023-02-01 170308

@kartik-v kindly have a look into it.

Environment

Browsers

  • Google Chrome
  • Mozilla Firefox
  • Internet Explorer
  • Safari

Operating System

  • Windows
  • Mac OS X
  • Linux
  • Mobile

Libraries

  • jQuery version:
  • bootstrap-fileinput version:

Isolating the problem

  • This bug happens on the plugin demos page
  • The bug happens consistently across all tested browsers
  • This bug happens when using bootstrap-fileinput without other plugins
  • I can reproduce this bug in a jsbin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant