MerginMaps / MerginMaps/mobile
App Crashes When Selecting Layer with Failed PostGIS Connection
@xkello is already working on this.
Since Aug 25, 2026.
- Dominant language
- C++
- Stars
- 388
- Forks
- 87
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 20
Description
Summary:
----------------
When the application fails to load a PostGIS layer due to missing authentication credentials, selecting that layer in the Layers panel causes the application to crash instead of displaying a user-friendly error message.
Environment:
-----------------
Staging [x] PROD [x}
Application:
Device/OS/APP: IPhone 15 / iOS26.5 / MM 2026.3.0 - 924211
Steps to Reproduce:
---------------
1. Open the application with a project containing a PostGIS layer (adresy) with missing/invalid database credentials.
2. Observe the warning in Project Issues — "Unable to load source" for layer adresy.
3. Navigate to Layers and tap the adresy layer.
4. Observe the application crash.
Actual Behaviour:
-------------------
The application crashes when the user attempts to select a layer that failed to load due to a PostGIS connection error
Expected Behaviour:
-----------------
The application should handle the failed PostGIS connection gracefully and display an informative error message, The application should remain running.
Screenrecord:
https://github.com/user-attachments/assets/0a23547d-b02a-4280-b794-62818c555549
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.
Assessment
This issue has not been assessed yet.