Data lost when Post fails
Describe the bug
When I submit a new episode and that fails for some reason, I reach an error page. Going back, I have to type in everything again!
Steps to reproduce
Try to recreate the error:
- Click on creating a new episode /cp-admin/podcasts/3/episodes/new
- Open a new tab with the same url: /cp-admin/podcasts/3/episodes/new
- When the first one is submitted, the second one errors
- All my input is lost
Expected behavior
The expected behavior is that if I stay on the submission page when there is an error submitting the data. Then, I see the error message there!
Actual behavior
I leave the page, the information is lost.
Relevant logs and/or screenshots
No, I tried recovery: Went backwards in history and did find the fields empty.
Context
- Castopod: 1.11.0
- OS: Docker
- Browser: Firefox 125
- Web server: docker, nginx, nginx proxy manager
Possible fixes
If you could post to a new tab, that would help pretty easily. I think that #330 and #477 can be taken into consideration.