I no longer appear to be able to delete suggestions on the suggest page. Clicking Delete takes me to the confirmation page (e.g. https://wikipedialibrary.wmflabs.org/suggest/704/delete/), but clicking Confirm seems to just reload the page.
Description
Description
Event Timeline
Comment Actions
This may be a caching issue. When I navigated to https://wikipedialibrary.wmflabs.org/suggest/704/delete/ it was already gone
Comment Actions
Ah, I manually deleted that one (spam) via /admin, perhaps a bad example for me to have linked :)
Comment Actions
I verified the behavior on staging though: I can delete a suggestion and it takes me right back to a cached version of it. If I reload, I get a 404.
Comment Actions
Hm, I can't reproduce that. My steps:
- Log in to staging on my staff account, navigate to https://twlight-staging.wmflabs.org/suggest/
- The second-to-last suggestion is AllAfrica (premium). I click Delete
- I get the confirmation screen - "Are you sure you want to delete AllAfrica (premium)?" - I click Confirm
- The confirmation screen reloads
- Opening https://twlight-staging.wmflabs.org/suggest/ in a brand new incognito window still shows the AllAfrica suggestion is present on the page.
Comment Actions
I was testing incorrectly! https://twlight-staging.wmflabs.org/suggest/<pk> does not have a view associated with it.
Comment Actions
RTL notes:
- This probably is a Django 4.2 error, and likely related to T358122.
- This problem likely also impacts the data deletion view.
- We should check that users can still submit suggestions.