Handle creating a new subscription after deleting the previous one with the same data
Summary
During tests, I faced an issue while I tried to create a new subscription. The error occurs when the user creates a new subscription, then deletes it and tries to create a new one with the same data as the previous one. As a result, the user can notice that the application is loading infinitely.
Steps to reproduce
- Log in as admin/Admin123
- Go to the Subscription page
- Create a new Subscription by filling the first three fields with ie.
1
value - Delete the newly created subscription
- Create a new Subscription with the same data as in the 3rd step
What is the current bug behavior?
- The page is loading infinitely
What is the expected correct behavior?
- The user should be notified that the file still exists and that they should try later
Relevant logs and/or screenshots
Edited by Damian Kryger