Skip to content

Dataset Page: Deaccession Button appears incorrectly #666

@ekraffmiller

Description

@ekraffmiller

Deaccession Dataset button should not be shown for a deaccessioned version or the draft of a deaccessioned version.

What steps does it take to reproduce the issue?

  1. Deaccession a Dataset, then go to the dataset page for that dataset
  2. Create a Draft version of the Deacessioned dataset

When does this issue occur?
View the Deaccessioned Dataset. The "Deaccession Dataset" drop down button appears even though the dataset has been deaccessioned.
View the draft version of the Dataset. The "Deaccession Dataset" drop down button appears even though you can't deaccession a draft version.

Which page(s) does it occur on?
Dataset Page

To whom does it occur (all users, curators, superusers)?
all
What did you expect to happen?
The Deaccession Dataset button should not appear in these scenarios.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    FY25 Sprint 22FY25 Sprint 22 (2025-04-23 - 2025-05-07)GREI Re-archGREI re-architecture-relatedOriginal size: 3SPA.Q2Not related to any specific Q2 featureSPA: Dataset page (View)Size: 3A percentage of a sprint. 2.1 hours.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions