MerginMaps / MerginMaps/qgis-plugin
Project name ending with dot (e.g., "sample.") lacks immediate validation warning; Finish triggers generic failure
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 44
- Forks
- 20
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 5
Description
Description
Creating a new project in the Mergin Maps QGIS plugin with a name ending in a dot (e.g., sample.) does not show the expected inline validation warning ("Incorrect project name!"). Instead, the Create New Mergin Maps Project dialog allows proceeding, and only after clicking Finish an error dialog appears: "Failed to create Mergin Maps project".
For comparison, using an invalid character like an asterisk (sample*) correctly shows the inline validation message. Behavior should be consistent across all invalid names, including trailing dot.
Environment
Staging/PROD
Application (+ app version, build, operating system)
QGIS versions:
- QGIS version: 3.40.5-Bratislava
- QGIS version: 3.22.10-Białowieża (minimum supported)
Mergin Maps plugin:
- Plugin version: 2025.4.0
My operating system:
- macOS: Sequoia 15.6
Steps to reproduce
- Open QGIS with the Mergin Maps plugin.
- Choose Create New Mergin Maps Project.
- Enter a project name ending with a dot, e.g.,
sample.. - Observe: No inline warning appears (unlike when using
sample*). - Click Finish.
- An error dialog appears: "Failed to create Mergin Maps project".
Actual results
- Names ending with
.bypass inline validation and only fail at submission, returning a generic error.
Expected results
- Invalid project names (including trailing dot) should trigger the same inline validation warning ("Incorrect project name!") and block finishing until corrected.
- Screenshot of dialog with
sample.(no inline warning).
Screenshots or logs
- Screenshot of the error dialog after clicking Finish.
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
Start by locating the Create New Mergin Maps Project dialog and the existing validation for invalid characters such as sample*. Reproduce the trailing-dot case, then verify that it shows the "Incorrect project name!" warning and prevents Finish instead of producing the generic failure dialog.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100