-
Notifications
You must be signed in to change notification settings - Fork 476
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
add message when DataCite DOI has not been reserved #7102 #7121
Conversation
@@ -1322,6 +1322,8 @@ dataset.locked.ingest.message=The tabular data files uploaded are being processe | |||
dataset.unlocked.ingest.message=The tabular files have been ingested. | |||
dataset.locked.editInProgress.message=Edit In Progress | |||
dataset.locked.editInProgress.message.details=Additional edits cannot be made at this time. Contact {0} if this status persists. | |||
dataset.locked.pidNotReserved.message=Dataset Locked | |||
dataset.locked.pidNotReserved.message.details=The DOI displayed in the citation for this dataset has not yet been registered with DataCite. Please do not share this DOI until it has been registered. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't feel strongly about the wording and don't mind if someone changes it.
@@ -1322,6 +1322,8 @@ dataset.locked.ingest.message=The tabular data files uploaded are being processe | |||
dataset.unlocked.ingest.message=The tabular files have been ingested. | |||
dataset.locked.editInProgress.message=Edit In Progress | |||
dataset.locked.editInProgress.message.details=Additional edits cannot be made at this time. Contact {0} if this status persists. | |||
dataset.locked.pidNotReserved.message=Dataset Locked |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to add another "Dataset Locked" bundle value here. There is already dataset.locked.message
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put the key in as a placeholder but just changed it to "Dataset DOI Not Reserved" in fee1772.
In design standup I got some guidance from @TaniaSchlatter and @djbrooke on wording. Fixed in fee1772. |
@pdurbin I'm seeing the doi not reserved lock banner on the create dataset page. should it be there? a little confusing imho. |
No, it shouldn't be on the create page. |
Well you are checking on a null global create time, right? create page has null too. maybe needs to be excluded? |
Yeah, there's probably some kind of MODE!=CREATE we can check. |
Also, getting something weird happening:
|
In 1c1ae2c I just added the logic to not show the "DOI not reserved" message on create. For your other scenario, the plan reserve DOIs regularly and there's a new script in pull request #7142 for this. Basically, if DataCite is down, we simply can't reserve DOIs during that period. So maybe the script runs nightly or so to reserve them. |
@pdurbin Thanks for the info, will retest the message. |
@kcondon yes, thanks for the discussion. I have very little practical experience with EZID and have only glanced at that code, so I'll take your word for it as to how it behaved. It looks like there's a new issue and pull request where the discussion can continue:
(Or we can keep talking here if that's better.) |
@pdurbin Fair enough, though your old officemate Stephen created the EZID implementation and several others on the team were familiar with that functionality and I'd thought the original discussion about implementing DataCite's version was to copy what EZID did and that was my expectation going into this. I really just want a clear idea of what things do and that are logical so I have that for now and hopefully future discussions will proceed on that basis. Thanks. |
@Fernand0S hi, please email support@dataverse.org about your problem to open a support ticket. Thanks. |
Philip, I solved problem. reply you with email. |
What this PR does / why we need it:
Here's the problem scenario:
To help explain what's going on, this pull request add a message to the top of the dataset page:
Which issue(s) this PR closes:
Closes #7102
Special notes for your reviewer:
I copied and pasted the text that was given to me but I would prefer to use the word "reserved" rather than "registered" because we already use the former throughout our documentation and code.Fixed in fee1772.I used "Dataset Locked" as the short message before the long explanation but we can certainly change this to whatever we want.Changed to "Dataset DOI Not Reserved" in fee1772.Suggestions on how to test this:
The message should only appear for DataCite installations. In addition, the message should only appear for datasets with a null value for GlobalIdCreateTime (dvobject table), which is what we use to indicate if a DOI is reserved. It's the time the PID was created on the remote system.
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Yes, please see screenshots, above.
Is there a release notes update needed for this change?:
No, I think it falls under the umbrella of Dataverse 5 allowing DOIs to be reserved.
Additional documentation:
None.