Support COT catalog number format configuration in WorkBench #5489
+65
−28
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #5473
Related to #5232
Screen.Recording.2024-12-18.at.1.18.21.PM.mov
Checklist
self-explanatory (or properly documented)
Testing instructions
Create or find a CollectionObjectType with a Catalog Number Format Name which differs from that of the Collection's default Catalog Number format
Catalog Num Format Name
field to determine the default formatCreate a Collection Object WorkBench data set which includes
Collection Object -> catalogNumber
andCollection Object -> collectionObjectType -> name
Consider the following possibilities for
CollectionObjectType -> name
(these will be used in the next step):Catalog Number Format Name
is providedCollection Object Type -> name
is providedFor each of the above CollectionObjectType configurations, have a row in the data set where:
Validate the data set and ensure that for each row the CollectionObjectType's Catalog Number format is being properly respected
Remove the invalid rows and Upload the data set
Ensure the Collection Objects are properly uploaded and with the correct Catalog Number and Collection Object Type
Perform the above steps with a data set which doesn't have CollectionObject as a base table.
For example, some tables which map to CollectionObject are:
Collection Relationship -> leftSide
andCollection Relationship -> rightside