DSpace / dspace-angular

DSpace User Interface built on Angular.io
https://wiki.lyrasis.org/display/DSDOC8x/
BSD 3-Clause "New" or "Revised" License
123 stars 394 forks source link

Delete and Send back buttons on Workflow items perform the same action in Administer workflow section #3086

Open GraziaQuercia opened 1 month ago

GraziaQuercia commented 1 month ago

Describe the bug In the Administer workflow page, in the case of “Workflow” items, both the “Delete” and the “Send back” buttons perform the same action, sending the selected item back to the workspace of its submitter. We reproduced this behaviour both on DSpace 8 and DSpace 7.6.

To Reproduce

https://github.com/DSpace/dspace-angular/assets/124360978/0eece4df-b849-4f7a-b060-e28f2d93b3b8

When clicking on "Delete", the item is, again, sent back to the Workspace

https://github.com/DSpace/dspace-angular/assets/124360978/7859cbd6-9fe5-45f6-9848-6d628f367064

Expected behavior We have the “Delete” button also for “Workspace” items, and in that case, the item is permanently removed from the repository (we also have the modal to confirm the delete action). See video. We suggest to have the same behaviour on the Delete button of an item in Workspace in the Administer Workflow section.

https://github.com/DSpace/dspace-angular/assets/124360978/ee2b1418-2ca4-4f77-8834-5ad0909f1791

Related work Looking at the 7.0 Beta 3 Release Notes, we have a reference on those buttons:

Release Notes - DSpace 7.x Documentation - LYRASIS Wiki

If useful, we fixed the buttons not working on https://github.com/DSpace/dspace-angular/pull/2227

tdonohue commented 1 month ago

That does sound like a bug. Pulling this over to the bug board. Needs a volunteer.