View changes and schema check use the wrong base copy for GeoPackages in subfolders
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
For a GeoPackage in a project subfolder (e.g. data/survey.gpkg), the plugin looks for the base copy at .mergin/survey.gpkg instead of .mergin/data/survey.gpkg:
View changes shows no tab for the layer.
Project status doesn't warn about schema changes in that layer.
If the project root also has a survey.gpkg, the subfolder layer is compared with the root one. View changes then shows changes nobody made, or fails with GeoDiffLibError when the tables differ. Project status warns about a schema change nobody made.
Extract local changes is affected the same way, and Create diff sends only the file name to the server.
To reproduce:
Create a project with a point layer in data/survey.gpkg and sync it.
Add a feature and save.
Click View changes: there's no tab for the layer.
https://github.com/user-attachments/assets/853b53d6-b37f-4dec-89ba-ad932ffc2990
- Lingua principale
- Python
- Stelle
- 45
- Fork
- 21
- Merge medio
- 3g 13h
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di MerginMaps/qgis-plugin
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
MerginMaps/qgis-plugin#953 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
MerginMaps/qgis-plugin#848 · 1 commento ·
-
Project history and Remove locally fail in projects with long paths on Windows (> 260 characters)Apertabug windows
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
MerginMaps/qgis-plugin#967 ·
-
Error when syncing project.Forse già presa @harminius l’ha presa 7 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 54/100
MerginMaps/qgis-plugin#960 · 2 commenti · 1 assegnatario ·
-
@mm_project_version is not updatedForse già presa @harminius l’ha presa 21 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
MerginMaps/qgis-plugin#947 · 1 assegnatario ·
Tutte le issue di MerginMaps/qgis-plugin
Issue simili
-
bug(mcp): handle malformed and partial reranker responses safelyForse già presa @KamilEjaz890 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
kubeflow/docs-agent#301 ·
I maintainer di solito rispondono entro 4 giorni
-
Update the demo docsAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
pulp/pulp_workflow#78 ·
-
Invalid syntax in sshtunnelApertaBug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
pgadmin-org/pgadmin4#10797 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
gcivil-nyu-org/team5-mon-fall26#132 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
gcivil-nyu-org/team4-mon-fall26#291 ·
I maintainer di solito rispondono entro 1 giorno