Skip to content

Bug: BibTeX + EndNote XML citation output for dataset with Permalink #10769

@vera

Description

@vera

What steps does it take to reproduce the issue?

  1. Create dataset with permalink PID (in my example, the permalink of my dataset is https://clinicaltrials.gov/study/NCT00080262)
  2. Open dataset page and click "Cite Dataset" > "BibTeX" or "EndNote XML"

Two problems:

  1. 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.

  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done 🧹

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions