Collection source type is not saved correctly
Expected behaviour
Source type are required fields to be filled on the first step of collection creation. After a collection is saved successfully this data we added there, should be reflected on the collection metadata.
Current behaviour
The data we selected for the book source type on the first step of collection creation, is not reflected on the collection metadata modal.
When you go to the modal both source types are empty & also you can update the metadata without even filling this fields, no validation happens.
Steps to reproduce
- Create a collection & check the validation on the first step for book source type
- Save the collection
- Go to the metadata modal of the collection and check book source types are not filled
- Try saving the collection metadata without adding information about those fields, no validation is happening.
Environment
PC, firefox browser.
NCBI's priority feedback
[Select "Y" or "N" and provide an explanation]
- This bug is blocking NCBI's work on migration planning for deployment 1 (Y/N)
QA Steps
- Create a collection & check the validation on the first step for
Collection members: Wholebook source type
andCollection members: Chapter-processed source type
- Save the collection
- Go to the metadata modal of the collection and check that book source types for Collection members are filled in just the same as you saved them in the 1st step of creating the collection.
- Check the validation when saving the collection metadata without adding information about those fields
- You might also edit these fields and save changes. Close and open the Metadata modal again and check that information is saved.