Describe the bug
A clear and concise description of what the bug is.
In the Field Formatters app resource visual editor, the Auto-number checkbox can't be selected for Numeric parts of a MaterialSample format.
To Reproduce
Steps to reproduce the behavior:
- Go to App Resources > Field Formatters
- Add a Material Sample format
- Pick any field to base it on, add a numeric format part
- See "Auto-number" checkbox is read only
Expected behavior
A clear and concise description of what you expected to happen.
Auto-number checkbox should be clickable
Screenshots
If applicable, add screenshots to help explain your problem.
Please fill out the following information manually:
- OS: macOS
- Browser: chrome
- Specify 7 Version: v7.12.0.7
- Database Name: demofish
Reported By
Name of your institution
Robyn @ Royal Botanic Garden of Edinburgh (1248)
Additional context
-
Found with materialSample, Deaccession, and Borrow table so far.
-
Workaround: Add inc="true" to the format in the XML editor.
Context from a convo between Elizabeth and Jason:
Looks like it's disabled when the scoping of the table can't be inferred.
You would get a HierarchyException when Specify tried to auto-increment a field for a table that can't be reliably scoped. So for something like a Permit, Disposal, CollectionRelType, etc., Specify can't determine how those tables should be scoped so it doesn't know how to restrict or "filter" which records it should use for auto-incrementing.
possibly related: #6293
Describe the bug
A clear and concise description of what the bug is.
In the Field Formatters app resource visual editor, the Auto-number checkbox can't be selected for Numeric parts of a MaterialSample format.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Auto-number checkbox should be clickable
Screenshots
If applicable, add screenshots to help explain your problem.
Please fill out the following information manually:
Reported By
Name of your institution
Robyn @ Royal Botanic Garden of Edinburgh (1248)
Additional context
Found with materialSample, Deaccession, and Borrow table so far.
Workaround: Add
inc="true"to the format in the XML editor.Context from a convo between Elizabeth and Jason:
possibly related: #6293