PDF CPB: Publisher info & date from book metadata, not the same with the info appearing on book component preview
This was reported on issue #1308 before.
Expected behavior
After every successful conversion for PDF chapter processed books, on the preview of the book components, the required fields from metadata modal (publisher name & location, publication data) should appear on the 'Show details' accordion.
Current behavior
In some cases the information about publisher name, publisher location & publication date do not match with what is on the book metadata modal. This happens in the PDF chapter processed books, where the source file uploaded is the same with the converted file.
Example book on ncbi site here
Steps to reproduce
- Create a pdf chapter processed book
- Fill the required metadata on the metadata modal of the book
- Upload the following file sb285.xml. Which would be the source. Do not submit
- Notice the content on the xml publisher-name, publisher-location, pub-date and book title
- Go on the files tab of the book component and upload on the same on the converted file.
- Click reload preview and wait for the file to go into previewing status
- Go to preview tab of the book component and see that on the 'Show details' is the info from the uploaded xml file, not the ones you added in the book metadata. If you check the converted file, the content there is updated with the current info added on the book metadata.
Environment
Possible solution
QA Steps
[To be completed by Coko once dev is done]
Scheduling
-
This issue is blocking current user testing -
This issue is blocking current migration testing -
Fixing this issue is required for Priority 1: Deploy MVP -
This issue should be triaged into later epics in the PM weekly meeting