Pub Dates on Collection Manager page have null for Pub Dates that have month / year and no day
Expected behaviour
Pub Dates should render correctly on collection manager page. If a DD
or MM
is not provided, no value should display.
Current behaviour
null
is rendering for Pub Dates that have month / year and no day
Steps to reproduce
Go to Book Metadata - see:
Priority
Y, as per Stacy's update to the BCMS priorities sheet
QA Steps
- Create a collection and select the
order books by: Publication date
. - Add some books to the collection which have also date of publication with only month and year.
- For some books only add the year at the publication date.
- For the case of chapter processed books the date on the format MM/YYYY is added manually from the metadata UI modal.
- For wholebooks, the source file can be edited to have only month and year for the publication date. The metadata is updated once the file is in reloading preview state, so we can start directly by uploading the converted file, which has only month and year. Repeat the same for a file which has only year for the date of publication.
- See that there is no
null
for the date of publication when it has only year or has month & year.