-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Internal Server Error. When trying to delete a task that was assigned to a deactivated and than removed user. #4088
Comments
@nmanovic If you haven't started working on it yet, may I take up this issue? |
@g-kartik , it will be great! Thanks for your contribution. |
Thank You! |
A similar error occurs if the user was in the organization and then was removed from the database (deactivation of the user is not necessary). |
It looks like it is a problem with using cacheops: Suor/django-cacheops#348 Basically we have code which cache Task.objects.get() and Job.objects.get(): https://github.com/openvinotoolkit/cvat/blob/c9aa9a12e1fd9bacb7bb017c0cf3671616d57e79/cvat/settings/base.py#L326 Solution:
|
* Resolved #4088 * Update CHANGELOG * Fix linter issues * Removed CACHEOPS settings from production.py
My actions before raising this issue
Internal Server Error. When trying to delete a task that was assigned to a user that was deactivated and then deleted.
A similar situation occurs when trying to delete a task that was created by a user who was deactivated and then deleted.
An error when opening a job that was assigned to a user who was deactivated and then deleted.
Expected Behaviour
It is possible that the task should be deleted.
Current Behaviour
Possible Solution
Fix the bug.
Steps to Reproduce (for bugs)
Context
Your Environment
git log -1
): 6cabea1docker version
(e.g. Docker 17.0.05): 20.10.7Logs from `cvat` container
Next steps
You may join our Gitter channel for community support.
The text was updated successfully, but these errors were encountered: