Skip to content

Unsuccessful cancellation of Parse File #1162

Closed
@JeromeDeLeon

Description

@JeromeDeLeon

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

  1. Create a ParseFile using JS SDK
  2. Save it
  3. Create a setTimeout to mimic interruption after 2s
  4. 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

Logs/Trace

image

Metadata

Metadata

Assignees

Labels

bounty:$20Bounty applies for fixing this issue (Parse Bounty Program)type:bugImpaired feature or lacking behavior that is likely assumed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions