MerginMaps / MerginMaps/mobile
Inconsistent field-name uniqueness when adding fields.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 388
- Forks
- 87
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 20
Description
Description
When creating a new project and adding a new field whose name starts with the same first two letters as an existing field, the UI shows the error "Field xx already exists. Won't be added to the project."
Despite the error, if the field is added during project creation it appears in the project — inconsistent behavior between add-via-create and add-later.
Environment
Staging
Application (+ app version, build, operating system)
iOS/Android
Steps to reproduce
- Create a new project.
- Try to add a new field named "Ab".
- Try to add a new field named "Abc" (shares the same first two letters).
- Observe the behavior when adding the field after project creation versus during project creation.
Actual results
- When adding the field as part of creating a new project, UI shows: "Field xx already exists. Won't be added to the project." The field is added successfully despite the same-name-prefix, causing inconsistent behavior.
Expected results
- Field uniqueness should be validated consistently. Either:
- Uniqueness should be determined by the full field name (recommended).
Screen-record:
https://github.com/user-attachments/assets/5d613bd0-7bdf-4848-bd5e-ad93b9298b28
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
Reproduce the issue using the listed Ab/Abc sequence, then compare field-name validation during project creation with adding a field afterward. Done when full field names are validated consistently in both flows and the expected behavior is covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, ios
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100