Previously published chapter that has a replacement chapter file version in previewing status does not show original published version of chapter on toc
Expected behaviour
toc should be accurate:
- a chapter should be included in the TOC.xml build when it is published and should remain on the TOC.xml even if the current file version is not published
Current behaviour
a previously published chapter is no longer showing in the TOC if an update is previewing
Steps to reproduce
- publish a chapter (in example see chapter LM584.docx)
- publish a TOC and see chapter shows in TOC
- update the chapter so that it is now in previewing status
- publish toc again (user was working on and published other chapters hence reloaded toc)
- see that original chapter that is now previewing is no longer in TOC
NCBI's priority feedback
y, for deployment - need to be able to process and have accurate data
QA Steps
[To be completed by Coko once dev is done]