MerginMaps / MerginMaps/mobile

Value must be a number constraint error in autogenerated fid field

Open
#1,694 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug forms
Dominant language
C++
Stars
388
Forks
87
Avg merge
2d 7h
Merged PRs (30d)
20

Description

When I create feature or add to table with no geometry and have fid field in form with autogenerated value visible as "Autogenerate" in form input I get "Value must be a number" constraint error and can't save form. When I delete fid field from form I can save new feature as usual. Before 1.0.2 update it worked.
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported form submission with a feature or table that has no geometry and an autogenerated fid field displayed as "Autogenerate." Compare this behavior with the pre-1.0.2 behavior and trace the form validation path. Done means the form saves successfully without deleting the fid field and no longer reports "Value must be a number."

Written by the indexing model from the issue text.

Assessment

Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.