Closed
Description
Issue Description
I was trying to cancel an a PFile when I noticed in my network that it successfully cancelled the PFile but created another request to continue saving the file. I tried checking who called it the second time and to my surprise, it went another attempt to save the file because of this.
Steps to reproduce
- Create a ParseFile using JS SDK
- Save it
- Create a setTimeout to mimic interruption after 2s
- Cancel it
Expected Results
Cancel the file
Actual Outcome
Cancel the first request, then shortly after created another request to continue the previous one.
Test Case
I don't know how will I be able to reproduce this one on a test
Environment Setup
-
Server
- parse-server version (Be specific! Don't say 'latest'.) : 4.2.0
- Operating System: Ubuntu 18.04
- Hardware:
- Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): localhost
-
JS SDK
- JS SDK version: 2.13.0
- Application? (Browser, Node, React-Native, etc): Browser