Skip to content

Regex for gnis:feature_id allows leading zeros #1017

@watmildon

Description

@watmildon

Describe the bug
The regex for the field gnis:feature_id allows leading zeros. Previous imports have incidentally had IDs with leading zeros but that has now been corrected.

To Reproduce
Steps to reproduce the behavior:

  1. Create an object with gnis:feature_id=00000123

Expected behavior
Warning as this is not proper for a numerical id field.

Additional context
I have supplied this suggested PR #1007

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions