Open
Description
In getCrossrefReferencesDOIs, the stored DOI is not fetched via $publication->getStoredPubId('doi') if the called from the CLI, e.g.
php tools/checkCrossrefReferencesDOIs.php submission #somesubmissionId
or via scheduledTasks, e.g.
# Run Crossref Reference linking job every hour
0 * * * * /usr/bin/php {ojsroot}/tools/runScheduledTasks.php plugins/generic/crossrefReferenceLinking/scheduledTasks.xml
I think pkp/pkp-lib#7194 bites here, too.
My current workaround is to fetch the DOI via $submission->getData('crossref::registeredDoi') .
Please check a possible solution.
PR (stable-3_3_0): https://github.com//pull/25
Metadata
Metadata
Assignees
Labels
No labels