malformed date can crash PDF generation
server/pdfexport/pdfTemplates/article.njk
contains this code:
<span class="citation">{{ article.submission.datePublished.split(".")[2] }}<span></span></span>
If datePublished
is not coming in as a string with two "."s in it, this will fail; PDF generation fails with an error. There should be a fallback here.