Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date not appearing in citation if only publisherYear included in metadata #384

Closed
MaryHirsch opened this issue Mar 27, 2020 · 1 comment
Closed
Assignees
Labels

Comments

@MaryHirsch
Copy link

MaryHirsch commented Mar 27, 2020

Expected Behaviour

Date is shown in the citation

Current Behaviour

Date is not shown in the citation if the metadata is missing the dates metadata in it and only contains the publisherYear.

Steps to Reproduce

  1. example https://doi.datacite.org/dois/10.34747%2Fg6yb-3412

Context (Environment)

Fabrica

Hypothesis

Detailed Description

Possible Implementation

Front logo Front conversations

@MaryHirsch MaryHirsch added the bug label Mar 27, 2020
@davclark
Copy link

davclark commented Mar 27, 2020

Thanks @MaryHirsch for triaging this issue. To expand on the behavior, the publicationYear IS returned from the following datacite JSON query:

curl -LH 'accept: application/vnd.datacite.datacite+json' https://doi.org/10.34747/g6yb-3412

But NOT if we use Citeproc JSON (which I think queries https://data.crosscite.org):

curl -LH 'accept: application/vnd.citationstyles.csl+json' https://doi.org/10.34747/g6yb-3412

So there appears to be an issue with the way the metadata is registered for citeproc.

If the datacite API works for all DOIs, we can just use that (but still it would be good if Years entered in Fabrica were functional across the different APIs and tools). I also sent this question to Richard at datacite support via email - but I figure it's worth having here if others have this issue.

mfenner pushed a commit to datacite/bolognese that referenced this issue Jul 11, 2020
mfenner pushed a commit to datacite/lupo that referenced this issue Jul 11, 2020
@mfenner mfenner closed this as completed Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants