MerginMaps / MerginMaps/mobile
`id` incrementation issue
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 388
- Forks
- 87
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 20
Description
Hi folks!
Recently I developed a mid-size project for Mergin Maps. Unfotunately i encountered enormous, yet simple issue: ID INCREMENTATION. It couldn't increment itself as it did in QGIS. I saw a different behavior in QGIS incrementation and different in Mergin Maps mobile app. Only below configuration worked for incrementation of id field:
idfield has to be namedid(has to be numerical)idfield has to be hidden (type of a field in a form set to hidden)idfield has to be removed from a QGIS table formidfield has to be set to force unique values and deny not null value for a field
Other configurations didn't provide id field incrementation.
Please let me know if you are willing to fix it or at least note it in here to make it easier for other users: https://merginmaps.com/docs/layer/form-widgets/
I can also contribute to note some informations if'd make it easier for you. Just let me know what is a repo adress for this documentation and i can make a pull request.
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 with the form-widgets documentation linked in the issue and reproduce the listed id-field configurations in the Mergin Maps mobile app, comparing their behavior with QGIS. Done means either id incrementation works consistently for the supported configuration or the limitation and required settings are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- documentation, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100