scientist-softserv / adventist_knapsack

Apache License 2.0
2 stars 0 forks source link

Can't delete works with slugs #732

Open ShanaLMoore opened 1 month ago

ShanaLMoore commented 1 month ago

Summary

Deleting a work with a slug says it's successful, but the record is still visible on works index page. You can also still visit the work's show page.

Clicking edit on the work leads to an error:

Screenshots or Video

Image

Acceptance Criteria

Testing Instructions

Create a work with an aark id and save. Notice that aark_id becomes the slug for this work. Take note of the slug url. Delete the work. The work should no longer be present when we visit the slug url The work should no longer be visible on the works index page

Notes

ShanaLMoore commented 3 weeks ago

QA Results: ✅ PASS

I created a work with aark_id: 'QA-i732'

SHOW PAGE

Image

INDEX PAGE

Image

DELETE THE SLUG WORK

SHOW PAGE

Image

INDEX PAGE

Image