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

Version table always shows DRAFT? #8845

Closed
qqmyers opened this issue Jul 15, 2022 · 1 comment · Fixed by #8879 or #8902
Closed

Version table always shows DRAFT? #8845

qqmyers opened this issue Jul 15, 2022 · 1 comment · Fixed by #8879 or #8902
Milestone

Comments

@qqmyers
Copy link
Member

qqmyers commented Jul 15, 2022

What steps does it take to reproduce the issue? I'm not sure if it's new, but if I look at a dataset's version table, I see a DRAFT row even when there is no draft. Clicking the link brings me to the last version with a warning that draft doesn't exist, this is version x.y

What did you expect to happen?

DRAFT only appears if there is one.

Which version of Dataverse are you using?
5.11 / demo.dataverse.org

Any related open or closed issues to this bug report?
?

Screenshots:
DRAFT in the table - warning that draft doesn't exist at the top...

image

@pdurbin
Copy link
Member

pdurbin commented Jul 27, 2022

@qqmyers can you please try something for me? When you have a dataset in this state, that is:

  • the only version is published
  • the Versions tab shows a draft that isn't really there (not in the database)

What if click "Edit Dataset" and try to delete the dataset? I just tried this as of 75d2900 on develop and THE PUBLISHED DATASET WAS DELETED! That is, I didn't do a "destroy" from the API. I was able delete a published dataset from the GUI (when the dataset is in this weird state).

More specifically, my dataset was in the "non-complaint" state described in #8742 (comment) (no terms, no request access).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment