MerginMaps / MerginMaps/qgis-plugin
Sync starts despite invalid filename warning; ends with “Unsupported file detected” and changes not synchronized
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 44
- Forks
- 20
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 5
Description
Description
When a project contains a file whose name includes invalid/unsupported characters, the Project status dialog shows a warning, but the user is still allowed to start synchronization. The sync runs and finishes with an error “Unsupported file detected.” The changes (including valid ones) are not synchronized. This leads to wasted time and unclear messaging (two different phases: warning then late failure).
Steps to reproduce
- Open a Mergin Maps project locally in QGIS.
- Place or create a file in the project directory whose name contains characters invalid or unsupported by the plugin/server sync (example:
survey:raw?.gpkgor includes characters like:*?<>|on Windows). - Open the Mergin Maps Project status dialog.
- Observe a warning about the problematic/unsupported file (naming or unsupported type).
- Start sync anyway.
- Wait for the sync process to complete.
Actual results
- Sync is allowed to start despite the warning.
- Process finishes with an error: “Unsupported file detected.”
- Project changes are not synchronized (including otherwise valid modifications).
- User receives late failure instead of an early block; error message does not explicitly list the offending file(s).
Expected results
Sync cannot start while invalid/unsupported filenames are present. A clear, early blocking error lists all offending files and instructs the user to rename/remove them. No network operations are started.
Screenshots or logs
Conclusion
Created by GitHub Copilot and supervised by a human test analyst.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files, tests, or entry points are named in the issue. Trace the Project status dialog's sync-start path and existing unsupported-file warning, then add coverage for blocking before network operations and listing all offending files; done means valid changes do not start syncing while invalid names remain.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100