Skip to content

change language for deaccession not valid reason#11985

Merged
pdurbin merged 66 commits intodevelopfrom
360-modify-notvalid-deaccession-reason
Apr 1, 2026
Merged

change language for deaccession not valid reason#11985
pdurbin merged 66 commits intodevelopfrom
360-modify-notvalid-deaccession-reason

Conversation

@stevenwinship
Copy link
Copy Markdown
Contributor

@stevenwinship stevenwinship commented Nov 17, 2025

What this PR does / why we need it:The current list of deaccessioning reasons may not fully capture all the legitimate grounds for dataset removal. One common and important case—when a deposit violates repository terms of use, submission policies, or legal/ethical guidelines—is not explicitly listed. Including this as a standardized reason improves clarity and accountability in the deaccessioning process.

Which issue(s) this PR closes:IQSS/dataverse.harvard.edu#360

Special notes for your reviewer:

Suggestions on how to test this: UI and API calls.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Is there a release notes update needed for this change?: included

Additional documentation:

@stevenwinship stevenwinship self-assigned this Nov 17, 2025
@stevenwinship stevenwinship added the Size: 3 A percentage of a sprint. 2.1 hours. label Nov 17, 2025
@stevenwinship stevenwinship added the FY26 Sprint 8 FY26 Sprint 8 (2025-10-08 - 2025-10-22) label Nov 17, 2025
@github-actions github-actions bot added the Type: Feature a feature request label Nov 17, 2025
@stevenwinship stevenwinship moved this to In Progress 💻 in IQSS Dataverse Project Nov 17, 2025
@github-actions

This comment has been minimized.

@stevenwinship stevenwinship moved this from In Progress 💻 to Ready for Review ⏩ in IQSS Dataverse Project Nov 19, 2025
@stevenwinship stevenwinship removed their assignment Nov 19, 2025
@coveralls
Copy link
Copy Markdown

coveralls commented Nov 20, 2025

Coverage Status

Changes unknown
when pulling 0fef4e4 on 360-modify-notvalid-deaccession-reason
into ** on develop**.

@github-actions

This comment has been minimized.

@cmbz cmbz added the FY26 Sprint 10 FY26 Sprint 10 (2025-11-05 - 2025-11-19) label Nov 20, 2025
@github-actions

This comment has been minimized.

@cmbz cmbz added the FY26 Sprint 11 FY26 Sprint 11 (2025-11-20 - 2025-12-03) label Nov 22, 2025
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@cmbz cmbz added the FY26 Sprint 20 FY26 Sprint 20 (2026-03-26 - 2026-04-08) label Mar 27, 2026
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@pdurbin pdurbin self-assigned this Mar 31, 2026
@pdurbin pdurbin moved this from Ready for QA ⏩ to In Review 🔎 in IQSS Dataverse Project Mar 31, 2026
Copy link
Copy Markdown
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a comment on the docs.


Once the database is updated the Solr indexes need to be rebuilt using the following Admin API:

- `curl http://localhost:8080/api/admin/index/continue`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"continue" only works if you clear the index timestamps first. See https://guides.dataverse.org/en/6.10.1/admin/solr-search-index.html

This is just a heads up. We can probably just suggest a full reindex in the final release notes.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated the doc

@pdurbin pdurbin moved this from In Review 🔎 to QA ✅ in IQSS Dataverse Project Mar 31, 2026
@stevenwinship stevenwinship removed their assignment Apr 1, 2026
@github-actions

This comment has been minimized.

1 similar comment
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

📦 Pushed preview images as

ghcr.io/gdcc/dataverse:360-modify-notvalid-deaccession-reason
ghcr.io/gdcc/configbaker:360-modify-notvalid-deaccession-reason

🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name.

@@ -0,0 +1,3 @@
-- modify datasetversion.deaccessionnote entries with new Bundle string 'file.deaccessionDialog.reason.selectItem.notValid'
UPDATE dvobject SET indextime=null WHERE id in (SELECT dataset_id FROM datasetversion WHERE deaccessionnote='Not a valid dataset.');
UPDATE datasetversion SET deaccessionnote='Not valid. This dataset does not comply with repository policies.' WHERE deaccessionnote='Not a valid dataset.';
Copy link
Copy Markdown
Member

@pdurbin pdurbin Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm just putting this at the bottom but why does this PR have 66 commits for such a small change? Seems very strange.

Related:

@pdurbin
Copy link
Copy Markdown
Member

pdurbin commented Apr 1, 2026

I believe this is working ok, so I'm merging this.

The new text looks ok in the dropdown.

Screenshot 2026-04-01 at 3 04 28 PM

The SQL update seemed to work. Here's the before and after.

Before

Screenshot 2026-04-01 at 2 54 23 PM

After

Screenshot 2026-04-01 at 3 03 28 PM

@github-project-automation github-project-automation bot moved this from QA ✅ to Ready for QA ⏩ in IQSS Dataverse Project Apr 1, 2026
@pdurbin pdurbin merged commit 27e1f1f into develop Apr 1, 2026
15 checks passed
@github-project-automation github-project-automation bot moved this from Ready for QA ⏩ to Merged 🚀 in IQSS Dataverse Project Apr 1, 2026
@pdurbin pdurbin deleted the 360-modify-notvalid-deaccession-reason branch April 1, 2026 19:10
@pdurbin pdurbin removed their assignment Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FY26 Sprint 8 FY26 Sprint 8 (2025-10-08 - 2025-10-22) FY26 Sprint 10 FY26 Sprint 10 (2025-11-05 - 2025-11-19) FY26 Sprint 11 FY26 Sprint 11 (2025-11-20 - 2025-12-03) FY26 Sprint 12 FY26 Sprint 12 (2025-12-03 - 2025-12-17) FY26 Sprint 13 FY26 Sprint 13 (2025-12-17 - 2025-12-31) FY26 Sprint 14 FY26 Sprint 14 (2025-12-31 - 2026-01-14) FY26 Sprint 15 FY26 Sprint 15 (2026-01-14 - 2026-01-28) FY26 Sprint 16 FY26 Sprint 16 (2026-01-28 - 2026-02-11) FY26 Sprint 17 FY26 Sprint 17 (2026-02-11 - 2026-02-25) FY26 Sprint 18 FY26 Sprint 18 (2026-02-25 - 2026-03-11) FY26 Sprint 20 FY26 Sprint 20 (2026-03-26 - 2026-04-08) Size: 3 A percentage of a sprint. 2.1 hours. Type: Feature a feature request

Projects

Status: Merged 🚀

Development

Successfully merging this pull request may close these issues.

Feature Request - Deaccessioning: Expand Deaccessioning Reasons to Include Policy Violations

5 participants