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

No space between Related Publication citation and DOI in v. 6.4 #11053

Open
meghangoodchild opened this issue Nov 26, 2024 · 2 comments
Open
Labels
Type: Bug a defect

Comments

@meghangoodchild
Copy link
Contributor

What steps does it take to reproduce the issue?
Enter in a citation in the "Related Publication" field and include a DOI. Press save.

  • When does this issue occur?
    Upon saving a citation within the "related publication" field and entering a DOI.

  • Which page(s) does it occurs on?
    Dataset page

  • What happens?
    There is no space between the end of the citation and the beginning of the doi link.

  • To whom does it occur (all users, curators, superusers)?
    All users can view this issue.

  • What did you expect to happen?
    We expect to see a space between the end of the citation and the DOI (the way it looks in previous versions). See the attached screenshots to show the difference between our production citation (v. 6.2) and our test environment (v. 6.4).

Which version of Dataverse are you using?
6.4

Any related open or closed issues to this bug report?
#10926
Screenshot 2024-11-13 095132
Screenshot 2024-11-13 095433

Screenshots:

@meghangoodchild meghangoodchild added the Type: Bug a defect label Nov 26, 2024
@qqmyers qqmyers self-assigned this Nov 26, 2024
@pdurbin
Copy link
Member

pdurbin commented Nov 26, 2024

@meghangoodchild you must have seen my message. 😄

Thanks for creating this issue! Here's another weird one from https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/TXDXWA that we might want to try to fix while we're in there. I'm not sure why it says "null" in there. 😬

Screenshot 2024-11-26 at 3 24 47 PM

@qqmyers qqmyers removed their assignment Nov 26, 2024
@qqmyers
Copy link
Member

qqmyers commented Nov 26, 2024

The original issue looks like it could be fixed with custom styling (or an add to structure.css), e.g.

#publication span {
margin: 0px 5px 0px 5px;
}

Since any fix won't hit v6.5, this could be a work-around for people deploying 6.4/6.5.

FWIW: The null issue at Harvard is probably in code - guessing that the id field has a value but the id type does not and the code doesn't handle that correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug a defect
Projects
None yet
Development

No branches or pull requests

3 participants