Introduced in #6710
Describe the bug
When the Catalog Number format is set to CatalogNumberString (one of our long-standing defaults) or nothing at all (empty CatalogNumFormatName in collection), Specify crashes immediately when opening a new data entry game:
Cannot read properties of undefined (reading 'canAutoIncrement')
If the Catalog Number is set to a non-external catalog number format or a custom one configured in UIFieldFormatters, it does not crash!
Does not happen in v7.11.0.2
To Reproduce
Steps to reproduce the behavior:
- Use a database with
CatalogNumberString (or an empty value) set as the CatalogNumFormatName in the collection or collectionobjecttype table.
- See the crash immediately.
Expected behavior
Specify should handle empty catalog numbers or CatalogNumberString as a valid format (not enforcing validation).
Crash Report
Specify 7 Crash Report - 2025-07-18T19_37_24.948Z.txt
Introduced in #6710
Describe the bug
When the Catalog Number format is set to
CatalogNumberString(one of our long-standing defaults) or nothing at all (emptyCatalogNumFormatNameincollection), Specify crashes immediately when opening a new data entry game:If the Catalog Number is set to a non-external catalog number format or a custom one configured in
UIFieldFormatters, it does not crash!Does not happen in
v7.11.0.2To Reproduce
Steps to reproduce the behavior:
CatalogNumberString(or an empty value) set as theCatalogNumFormatNamein thecollectionorcollectionobjecttypetable.Expected behavior
Specify should handle empty catalog numbers or
CatalogNumberStringas a valid format (not enforcing validation).Crash Report
Specify 7 Crash Report - 2025-07-18T19_37_24.948Z.txt