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

id of files are sometime same - bug #25

Open
pishangujeniya opened this issue Oct 14, 2021 · 6 comments
Open

id of files are sometime same - bug #25

pishangujeniya opened this issue Oct 14, 2021 · 6 comments

Comments

@pishangujeniya
Copy link
Contributor

Id of files are sometimes same and that is the reason cancel upload is cancelling multiple same files.

How can it be solved?

  • https://www.npmjs.com/package/angular-uuid Use this
@jayprajapati857
Copy link
Owner

The file id property needs to be changed as request id, because the file id you get as output event is for the request that you set in input options, that will be fixed in next release.

@pishangujeniya
Copy link
Contributor Author

Thats nice.

@pishangujeniya
Copy link
Contributor Author

@jayprajapati857 Any updates in this?

@jayprajapati857
Copy link
Owner

Yes it's resolved and will update soon.

@jayprajapati857 jayprajapati857 added bug Something isn't working and removed bug Something isn't working labels Apr 10, 2022
@jayprajapati857
Copy link
Owner

Hi, @pishangujeniya I went through the problem you mentioned, Why the id of the files are the same is because we wanted to upload multiple at a single request, and that's why I have given the file id to the same ids, from now on you can check that the file ids are replaced with request id so there won't be any confusion more. that will be fixed soon and published.

@pishangujeniya
Copy link
Contributor Author

Hi, @pishangujeniya I went through the problem you mentioned, Why the id of the files are the same is because we wanted to upload multiple at a single request, and that's why I have given the file id to the same ids, from now on you can check that the file ids are replaced with request id so there won't be any confusion more. that will be fixed soon and published.

With this reply, it seems that your boundary for the purpose is not clearly implemented, as files are individual but request is same, so I suggest, have different file id, but have request id mapped same for all those file ids which are going to be uploaded in single request.

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

2 participants