MerginMaps / MerginMaps/qgis-plugin

New project is created (empty) locally and on server when storage limit is reached

Open
#850 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
44
Forks
20
Avg merge
3d 12h
Merged PRs (30d)
5

Description

Description
When attempting to create a new project in a workspace that has reached its storage quota, the QGIS plugin still creates a new empty project both locally (folder) and on the server (project stub). Expected behavior is to show a clear error and not create any project nor local artifacts.

Environment
Staging

Application (+ app version, build, operating system)

  • QGIS version: 3.40.5-Bratislava
  • Plugin version: 2025.4.1
  • macOS: Sequoia 15.6

Steps to reproduce

  1. In the Mergin Maps QGIS plugin, switch to the workspace "storage_limit".
  2. Click "Create New Project" and choose New basic QGIS project.
  3. Complete the wizard to create the project in the "storage_limit" workspace.
  4. Observe the outcome.

Actual results

  • Server responds with an error "You have reached a data limit (StorageLimitHit)"
  • A new empty project is still created on the server.
  • A local empty project folder is also created.
  • The wizard indicates failure, but residual artifacts remain both locally and on server.

Expected results

  • No project is created on the server and no local folder/artifacts remain.

Screenshots or logs

Conclusion
Created by GitHub Copilot and supervised by a human test analyst.

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

Start by reproducing the failure with the QGIS plugin's Create New Project wizard in the storage_limit workspace and trace the local and server project-creation steps. Done means a StorageLimitHit error leaves neither a server project stub nor a local project folder or other artifacts.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.