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

Aperta
#850 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend, desktop

Direzione di ricerca

Inizia riproducendo il problema con il Create New Project wizard del QGIS plugin nel storage_limit workspace e traccia i passaggi locali e lato server della creazione del progetto. Il lavoro è completato quando un StorageLimitHit error non lascia né uno stub di progetto sul server né una cartella di progetto locale o altri artefatti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

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.

Lingua principale
Python
Stelle
45
Fork
21
Merge medio
3g 13h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di MerginMaps/qgis-plugin

Tutte le issue di MerginMaps/qgis-plugin

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.