If the status in the database has been changed unexpected, it may lead to this error. I modified the check_detach before doing a detach, making the condition more strict to raise the exception. Hope it can reduce the possibility of this issue.
If the status in the database has been changed unexpected, it may lead to this error.
I modified the check_detach before doing a detach, making the condition more strict to raise the exception. Hope it can reduce the possibility of this issue.