What steps does it take to reproduce the issue?
- Create dataset with permalink PID (in my example, the permalink of my dataset is
https://clinicaltrials.gov/study/NCT00080262)
- Open dataset page and click "Cite Dataset" > "BibTeX" or "EndNote XML"
Two problems:
-
I'm seeing weird output in the BibTeX output in L1 and line doi (missing http and extra slash after http).
In the EndNote XML output, there is also an extra slash in <electronic-resource-num>.
I briefly checked the code (BibTeX, EndNote XML) and I'm not sure why?
The RIS citation is fine.
-
in the BibTeX output, the permalink should not be given as doi since it's not a DOI
BibTeX:
@data{s://clinicaltrials.gov/study/NCT00080262_2024,
author = {$AUTHORS},
publisher = {Root},
title = {{$TITLE}},
year = {2024},
version = {V1},
doi = {http/s://clinicaltrials.gov/study/NCT00080262},
url = {http://localhost:8080/citation?persistentId=perma:https://clinicaltrials.gov/study/NCT00080262}
}
EndNote XML:
<?xml version='1.0' encoding='UTF-8'?><xml><records><record><ref-type name="Dataset">59</ref-type><contributors><authors>...</authors></contributors><titles><title>...</title></titles><section>...</section><dates><year>...</year></dates><edition>...</edition><publisher>...</publisher><urls><related-urls><url>http://localhost:8080/citation?persistentId=perma:https://clinicaltrials.gov/study/NCT00080262</url></related-urls></urls><electronic-resource-num>perma/http/s://clinicaltrials.gov/study/NCT00080262</electronic-resource-num></record></records></xml>
Which version of Dataverse are you using?
6.2
Any related open or closed issues to this bug report?
not aware
Screenshots:
-
Are you thinking about creating a pull request for this issue?
yes, would be interested
What steps does it take to reproduce the issue?
https://clinicaltrials.gov/study/NCT00080262)Two problems:
I'm seeing weird output in the BibTeX output in L1 and line
doi(missinghttpand extra slash afterhttp).In the EndNote XML output, there is also an extra slash in
<electronic-resource-num>.I briefly checked the code (BibTeX, EndNote XML) and I'm not sure why?
The RIS citation is fine.
in the BibTeX output, the permalink should not be given as
doisince it's not a DOIBibTeX:
EndNote XML:
<?xml version='1.0' encoding='UTF-8'?><xml><records><record><ref-type name="Dataset">59</ref-type><contributors><authors>...</authors></contributors><titles><title>...</title></titles><section>...</section><dates><year>...</year></dates><edition>...</edition><publisher>...</publisher><urls><related-urls><url>http://localhost:8080/citation?persistentId=perma:https://clinicaltrials.gov/study/NCT00080262</url></related-urls></urls><electronic-resource-num>perma/http/s://clinicaltrials.gov/study/NCT00080262</electronic-resource-num></record></records></xml>Which version of Dataverse are you using?
6.2
Any related open or closed issues to this bug report?
not aware
Screenshots:
-
Are you thinking about creating a pull request for this issue?
yes, would be interested