Citation Style Plugin - publication date of issue not used (OJS 3.1.2)

Hi,

if an article has no publication date, the issue publication date is not used for citations
(Citations Style Plugin). Instead, a “1” is added because the plugin uses getPublished() and not getDatePublished():

Is this a bug? I noticed that the article publication date is a required field in OJS 3, but there may still be cases where this field is empty, e.g. after upgrading from OJS 2.

Regards,
Carola

Hi @carola,

Thanks, you’re correct; I’ve filed this at Citation style language "issued" date incorrect when article has no publication date · Issue #5928 · pkp/pkp-lib · GitHub.

Regards,
Alec Smecher
Public Knowledge Project Team
https://forum.pkp.sfu.ca/t/citation-style-plugin-publication-date-of-issue-not-used-ojs-3-1-2/60836
forum.pkp.sfu.ca
crawl=CC-MAIN-2022-21
19274
application/http; msgtype=response
sha1:TTA5ZVX4TUKJHSNOT6U4PIFX5QNUHDQ4
<urn:uuid:a8f74987-fec0-409e-8817-35ba44d552c4>
2022-05-23T11:15:16Z
142.58.229.37
text/html
sha1:UIF65VJWZJAKZ4LJRB7DRCVECFCZSADF
<urn:uuid:b9450ef9-f674-460a-925c-b69815e412f5>
https://forum.pkp.sfu.ca/t/citation-style-plugin-publication-date-of-issue-not-used-ojs-3-1-2/60836
response
<urn:uuid:7ce2eb45-ebfe-453c-b921-763759e95341>
isPartOf: CC-MAIN-2022-21
publisher: Common Crawl
description: Wide crawl of the web for May 2022
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-6
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.3-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/