MerginMaps / MerginMaps/mobile

Canceling a project upload produces strange behavior

Open
#3,381 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
388
Forks
87
Avg merge
2d 7h
Merged PRs (30d)
20

Description

When I create a new project using Project Wizard, then upload it and hit cancel during it, the project is in a strange state.

  • The project was created on the server, but without any files (this is somehow expected)
  • in the app it shows, that the project was not uploaded, which is also partially true.
  • in the menu for the project, options for upload project or synchronization are missing
  • in the project canvas, I can hit synchronize, which will synchronize forever without the result
  • when in this state I go to the Home page, where there is running synchronization of the projects, which can't be stopped by the stop button.

After the app is restarted, it behaves the expected way.

  • there is an upload button for the project
  • after using it, it shows an error that the project with the same name already exists on the server

https://drive.google.com/file/d/16OXwdwbXCRBaobRBNrGNsXPaEBALYf-2/view?usp=sharing

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the flow from Project Wizard: create a project, start its upload, cancel it, then inspect the project canvas and the Home page synchronization state. Trace the upload and synchronization entry points involved in those screens. Done means cancellation leaves usable upload and synchronization controls, avoids an endless sync, and does not require an app restart.

Written by the indexing model from the issue text.

Assessment

Domain
cloud, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.