Not all book part metadata is getting written into TOC.xml - suffix is missing
cc @jordandc
Expected behaviour
All part metadata fields added by a user in the BCMS should be written into the TOC.xml
Current behaviour
Some fields are not getting written into the TOC.xml - namely <suffix>
is missing
Steps to reproduce
See attached TOC.xml - TOC__16_.xml
The suffix and role information are missing -
<contrib contrib-type="editor"><name><surname>doe</surname><given-names>john</given-names></name><degrees>phd</degrees><aff>nih</aff><email>klkj@nih.com</email></contrib>
Solution
-
Replace the current Editors component in book parts with the Editors component in Book metadata -
Configure Editors component in book parts to show surname
;given name
;suffix
-
Read suffix
in book component metadata for Editors and Authors (see BITS tag) -
Display suffix
in component metadata for Editors and Authors aftergiven names
-
Write suffix
in TOC.xml when it exists in book components and book parts metadata.
QA Steps
In a chapter-processed book:
- Create a part, add metadata
- Add a chapter to the part and publish it
- Publish the TOC
(Note: if testing in a an existing part, the part must be updated before the TOC is published)
Priority
Not necessary for migration, but required for deployment for accurate processing.