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

Deaccession latest published version prevents further edits, deaccession or create draft #1308

Closed
scolapasta opened this issue Jan 9, 2015 · 10 comments

Comments

@scolapasta
Copy link
Contributor

scolapasta commented Jan 9, 2015

When a dataset is deaccessioned, I no longer could edit (so as to create a new version).

@scolapasta scolapasta self-assigned this Jan 9, 2015
@scolapasta scolapasta added this to the 4.01 milestone Jan 9, 2015
@pdurbin
Copy link
Member

pdurbin commented Jan 12, 2015

This seems like a duplicate of #1267.

@eaquigley eaquigley assigned kcondon and unassigned scolapasta Jan 4, 2016
@eaquigley
Copy link
Contributor

Passing to @kcondon to determine if this is a duplicate of #1267 and can be closed.

@kcondon
Copy link
Contributor

kcondon commented Jan 4, 2016

@eaquigley #1267, #1308 and #2363 are related and could be combined but they are separate:
#1267 complains about the missing metadata tab on any deaccessioned version for permitted users, was a requirement in the FRD, apparently.
#1308 complains about not being able to edit and add a draft after deaccessioning
#2363 indicates a problem happens when the latest published version is deccessioned -the edit button disappears so you cannot deaccession other versions afterwards. This is probably the root cause of #1308 so those two could be combined.

@kcondon
Copy link
Contributor

kcondon commented Jan 4, 2016

I'm adding notes from #2363 to this and changing the title and description to cover the more general case:

Deaccessioning the latest published version (including all) of a dataset results in the edit button not being rendered so that a user cannot create new draft versions of the dataset and cannot deaccession other versions.

@kcondon kcondon changed the title Permissions: Deaccessioning - create new version Deccession: Deaccessioning the latest published version prevents further edits, deaccession or create draft. Jan 4, 2016
@kcondon kcondon removed their assignment Jan 16, 2016
@scolapasta scolapasta removed this from the Not Assigned to a Release milestone Jan 28, 2016
@mheppler mheppler changed the title Deccession: Deaccessioning the latest published version prevents further edits, deaccession or create draft. Deaccession latest published version prevents further edits, deaccession or create draft Jan 29, 2016
@mheppler
Copy link
Contributor

eaquigley commented on Apr 29 in issue #3096 (which I am closing in favor of this issue).

If a user has a published version of a dataset, creates a draft, and then deaccessions the published version, the Edit button for the dataset doesn't appear in the right corner of the page. It still renders within the individual tabs.

screen shot 2016-04-29 at 10 34 21 am

@mheppler
Copy link
Contributor

Also deaccession related #1221.

@pdurbin
Copy link
Member

pdurbin commented Nov 4, 2016

@sekmiller was this fixed by b5b5f31? I'm putting this in Code Review at https://waffle.io/IQSS/dataverse

@djbrooke
Copy link
Contributor

djbrooke commented Nov 4, 2016

Talked over this in standup today. I'll check in with @sekmiller on Monday.

@pdurbin
Copy link
Member

pdurbin commented Nov 7, 2016

@sekmiller and I just spoke about how b5b5f31 indeed should be a fix for this issue so he said this issue should go to QA. I associated it with pull request #3408.

@kcondon
Copy link
Contributor

kcondon commented Nov 8, 2016

OK, works -according to design doc can only create a draft from a published, not deaccessioned version so that implies you cannot create a draft from a completely deaccessioned dataset.

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

No branches or pull requests

7 participants