-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 404 - Error while retrieving tasks #1482
Comments
What could be done :
Does this solution suits you @deneuv ? |
Also, from what i have tested, this doesn't only apply to variant but to raw studies as well so i remove the variant label. |
Not sure. There can also be an impact on the front-end side, as some objects are saved in the web browser's Data Store. |
I'm not sure to understand how launcher jobs are saved in the web browser's Data Store. I thought we could just get every job associated to the study the same way the API does and kill each one. |
@MartinBelthle I think the solution 2 is better. |
Description
When we go to the task page, we get a 404 error - StudyNotFoundError.
This happened when a user deleted a variant on which a simulation was running. It's impossible to cancel this task.
Steps to Reproduce
Screenshots
Possible Solution
No control is made when deleting a variant or a study.
It would be necessary to prevent the deletion of a study (variant or not) when this one has one or more simulations in progress.
Another solution could be, when a user makes a call to the deletion function of a study (web app or API), this same function will first stop the simulations in progress before being deleted.
Environment
The text was updated successfully, but these errors were encountered: