-
Notifications
You must be signed in to change notification settings - Fork 493
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
Related publication identifier URL does not correspond to the identifier #8657
Comments
Hi @ErykKul. I opened one of the issues you marked as related to this issue so I was interested in what you've done in your pull request. I think it's an improvement but wanted to share what I found when I spun up your branch in an AWS instance, including some bugs that may not be related to your pull request but to how the AWS instance was created, in which case apologies for the noise:
|
This seems tricky - I could argue as a user that if I put in a URL, I'd be surprised when it doesn't get used/shown at all. (Some DOIs point behind paywalls so I could have a reason to cite the DOI but provide a link to an alternate ~copy/preprint) FWIW: I could see a couple medium/longer term solutions that go in different directions:
|
Very glad you mentioned these points!
In #5277 I started to write about the mismatch between the design of these fields and how they're actually used, and the problems this mismatch can cause. For example the URL field was added only for creating a clickable link when the ID Type and ID Number fields are displayed on dataset pages. I agree that there's value in giving depositors a way to add a kind of alternative URL, as you wrote, but I'd lobby for making the original function of the existing URL field more explicit and exploring options for turning that URL field into an "alternative URL" field.
The changes made for #8127 about improving tooltips include editing the tooltips to clarify the purpose of some of the related publication fields. But like I think you've implied, that might not be enough if many depositors don't look at the tooltips, and something else might be better, like what's been discussed in the DataCommons project. |
Hello, Thank you for all suggestions. As for the tooltips not working any more, I have traced it back to the commit bd7634f as done in the context of #7565 The URL generation for identifiers in this pull request is done by already existing code for global identifiers. As for now, only two types of identifiers are supported: doi and hdl (is that the Handle you mentioned?). If the generation fails, a warning is logged. Example of supported identifier as can be found in the code:
The space after ":" is allowed, and you can see what is parsed by looking and the link text. @jggautier, if you give me an example, I could check what went wrong. Also, I can implement URLs for additional identifier types, for that I would need to have the specification how to generate the URL from the identifier. As for the URL provided in the field of related publication, I will add code to show it after the identifier, as it is done in the expanded metadata: I will then add that link only if it is different from the identifier URL, to prevent doubling it. Greetings, |
@ErykKul huh. Thanks for the heads up about the broken tooltips when creating a dataset. I just demoed it to @sekmiller. Please feel free to open a separate issue for this as it definitely seems like a bug we should try to fix before it makes it into a release. Thankfully, it's only in the "develop" branch right now. (I just confirmed the demo server running 5.10.1 is fine.) |
Hi, I have worked out the rules for rendering of the identifier URL and/or the publication URL. Identifier URL:
Publication URL:
This is quite complex, however, I expect two main simple scenarios.
Does it seem to be sensible? I would appreciate some feedback. Greetings, |
The issue for the tooltips: |
Hi @ErykKul. I like that in the second scenario, it's clear where the clickable URL is pointing. Definitely an improvement over how things have been displayed so far when the Related Publication's URL field is misused. In the first scenario I think it would be more desirable to display the DOI URL in the Citation field as a clickable link and exclude the clickable identifier ("doi: 10.3390/v1309184"), although I kind of understand why that might be much more difficult. Like you wrote this is complex. I think it's because the Related Publication's Citation field may or may not contain some of the information that's already in the other Related Publication fields. There can be overlap. So trying to display this metadata by combining the values in all of those fields in a way that makes sense to people can be complex, especially when users use some of the fields in ways that the system, and so their designers, don't expect. Regarding supporting the two types of identifiers you mentioned, doi and hdl, yeah by "Handle" I meant "hdl". Sorry I didn't realize that there was support for both types. In an earlier version of your branch I chose "handle" as the ID Type and put "1902.1/00519" in the ID Number field, as in the screenshot below, and after saving the dataset and viewing the metadata on the dataset page, a link wasn't created for that hdl, like it had been when I did the same for a doi. More broadly, this is looking to me like an effort to account for the misuse of the Related Publication's URL field. Do you agree? You offered to implement URLs for additional identifier types, and if you did that, that would eliminate the need for the Related Publication's current URL field. In that case I think the community could, maybe in another effort, consider how to redefine that URL field as a field that depositors could use to add an alternative URL, like the "free version of the publication" that you mentioned, or maybe add a URL in cases where one can't be generated from the given PID. But I'm worried about continuing to expand the scope of your great and timely efforts here, because as @qqmyers wrote there are some unexplored ideas about how to address more issues with the Related Publication fields, and these fields are being discussed in other efforts, like the mentioned Harvard Data Commons effort and NIH grant funded work that will include better Make Data Count support (which might include a redesign of the Related Publication fields). I'd like to chat with some colleagues that have more perspective about all of these moving parts, too. |
What steps does it take to reproduce the issue?
In the "Related publication" filed of a dataset metadata enter an identifier (type and id number) and fill in the URL with a link that does not refer to the identifier (some other web link to a page related to the publication).
Which page(s) does it occurs on?
When viewing a datasets.
What happens?
The identifier link at the end of the text content of the "Related publication" does not contain the identifier URL, but it contains the provided link instead, like this:
To whom does it occur (all users, curators, superusers)?
All users.
What did you expect to happen?
I would expect that de identifier has a correct URL, like this:
Which version of Dataverse are you using?
5.10.1
Any related open or closed issues to this bug report?
Screenshot of the field content:
The text was updated successfully, but these errors were encountered: