PDF wholebook metadata not getting updated in metadata UI from converted files
Expected behaviour
Wholebook metadata should be updated in metadata UI from converted files regardless of workflow
Current behaviour
PDF wholebook metadata is not getting updated in metadata UI from converted files. See book meta node from converted file.
<book-meta>
<book-id book-id-type="pmcid">bcms3122</book-id>
<book-title-group>
<book-title>Pelvic floor dysfunction: prevention and non-surgical management</book-title>
</book-title-group>
<pub-date publication-format="print" date-type="pub">
<day>09</day>
<month>12</month>
<year>2021</year>
</pub-date>
<book-volume-number>210</book-volume-number>
<isbn>978-1-4731-4364-7</isbn>
<publisher>
<publisher-name>National Institute for Health and Care Excellence (NICE)</publisher-name>
<publisher-loc>London</publisher-loc>
</publisher>
<permissions>
<copyright-statement>Copyright © NICE 2021</copyright-statement>
<copyright-year>2021</copyright-year>
</permissions>
<custom-meta-group>
<custom-meta>
<meta-name>books-source-type</meta-name>
<meta-value>Report</meta-value>
</custom-meta>
</custom-meta-group>
<notes notes-type="disclaimer">
<p>
<bold>Your responsibility</bold>
: The recommendations in this guideline represent the view of NICE, arrived at after careful consideration of the evidence available. When exercising their judgement, professionals and practitioners are expected to take this guideline fully into account, alongside the individual needs, preferences and values of their patients or the people using their service. It is not mandatory to apply the recommendations, and the guideline does not override the responsibility to make decisions appropriate to the circumstances of the individual, in consultation with them and their families and carers or guardian.
</p>
<p>Local commissioners and providers of healthcare have a responsibility to enable the guideline to be applied when individual professionals and people using services wish to use it. They should do so in the context of local and national priorities for funding and developing services, and in light of their duties to have due regard to the need to eliminate unlawful discrimination, to advance equality of opportunity and to reduce health inequalities. Nothing in this guideline should be interpreted in a way that would be inconsistent with complying with those duties.</p>
<p>
Commissioners and providers have a responsibility to promote an environmentally sustainable health and care system and should
<ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="uri" xlink:href="https://www.nice.org.uk/about/who-we-are/sustainability">assess and reduce the environmental impact of implementing NICE recommendations</ext-link>
wherever possible.
</p>
</notes>
</book-meta>
The UI is missing:
- pub date
- book volume number
- Publisher name and location
Steps to reproduce
- Submit package to Apex in BCMS
- Apex submits converted package to BCMS
QA Steps
- Download the source and converted files from the example at ncbi's site
- Create PDF wholebook and submit source files
- Fake a PDF conversion submission (as explained in testing docs here)
- In a different book, also test by uploading a converted file (no source necessary)
- Check values are updated in metadata UI
Priority
Y, for deployment or will break what we migrate if we have to update something in this workflow