Fixes on publication date validations
Necessary validation messages on date of publication are listed here
Fixes to be made:
-
1. We should allow for date ranges to save in the format MM/YYYY-null/null - like described here
This is not working as expected so needs to be fixed for both book metadata on chapter processed and on collection metadata.
-
2. Validation on the collection metadata modal, do not match with the validation on the first step of collection creation.
The screenshot is from first step of collection creation, it allows to save like this, but this shouldn't be the case. -
3. Error messages for the cases on the date range do not match with what it is on the spreadsheet.
most of the cases the error is like this.
QA steps
- Go to a chapter processed book
- Open the metadata modal, and add the date in the format MM/YYYY-null/null. You should be able to save. Also all other date formats were checked to be working as before.
- Open modal to create new collection
- Add different types of dates there and confirm the validation working as it should here.
Specially confirm you are not allowed anymore to save with mm/yyyy- null/yyyy or null/yyyy-mm/yyyy. - After creating a collection. Go to collection page and open the metadata modal. There add dates with different formats and confirm the validation rules work as expected.