Chapter processed books: Error on upload of converted file because of affiliation tags
Expected behavior
If the conversion of a file is successful, we should be able to upload the same converted file without issues again, from 'File upload' button of converted section.
Current behavior
When I try to upload some converted files which have contributors and aff in their meta, I get an error The converted file is not correct1
on UI. While is exactly the same file that came from a successful conversion here
Also if you check the first converted xml file there are data about contributors which are missing on the ui at the metadata tab of the book component. (this is another bug, but the issues seem related)
Steps to reproduce
[Provide a link to a live example or screenshots, and the steps to reproduce this bug]
- Create a chapter processed book
- Upload the source file: ch-a.docx
- Go to files tab and upload the converted file: ch-a.xml
- Click Save and the UI error will appear.
Environment
[Provide browser name and version and if you're working from a PC or Mac]
Possible solution
[Not required. Suggest a fix for the bug]
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)
- This can be prioritised after deployment 1 (N)
QA Steps
[To be completed by Coko once dev is done]