Describe the bug
After uninstalling the app, the deleted roles will still be in the "Has Role" table.
This will cause an update of a user with one of these roles to be impossible.
To Reproduce
Steps to reproduce the behavior:
- Have a system with at least one user with lms roles
- uninstall the lms app
- try to edit the user that had a role
- See error when saving the user
Expected behavior
The uninstall script should also remove the roles that were given, not only the roles themself.
Desktop (please complete the following information):
- erpnext v15.106.0
- frappe v15.107.1
- lms v2.53.0
Describe the bug
After uninstalling the app, the deleted roles will still be in the "Has Role" table.
This will cause an update of a user with one of these roles to be impossible.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The uninstall script should also remove the roles that were given, not only the roles themself.
Desktop (please complete the following information):