sydevs / WeMeditate

International website promoting the practice of meditation, with online resources and free local classes.
https://www.wemeditate.com
5 stars 7 forks source link

Deleting a main page redirects back to the deleted page #96

Closed dbackeus closed 2 years ago

dbackeus commented 3 years ago

While testing out the migration of images from assets.wemeditate.co to assets.wemeditate.com I created a temporary draft main page to test out image uploading. After deleting it I was redirected back to the deleted page which resulted in a 404:

Screenshot 2021-06-28 at 14 55 20
dbackeus commented 3 years ago

Another odd thing: Apparently the page preview of the deleted page is still accessible: https://admin.wemeditate.com/en/static_pages/31/preview

So I guess we're doing a soft delete. Maybe the preview page should also take the deleted state into consideration.

Ardnived commented 3 years ago

Haha, I clicked that preview link to take a look, and at first I thought you had trolled me by linking to something else because of the splash image you set.

I don't think we are doing any soft deletion.

dbackeus commented 3 years ago

Haha, I just used some random meme pictures I had lying around my Pictures folder while trying out the asset migration ;)

Ardnived commented 2 years ago

Seems like this issue is no longer occurring. Or at least I can't reproduce it. I was able to delete both locally and on the server. It seems that the test page you created was never deleted, but I was able to delete it.