unable to delete user. leads to foreign key violation
|Assigned To:||Ohad Levy|
|Found in release:||1.15.0||Pull request:||https://github.com/theforeman/foreman/pull/4741|
|Velocity based estimate||-|
I try to delete a user account from foreman. But I get a foreign key violation error.
Oops, we're sorry but something went wrong ERROR: update or delete on table "users" violates foreign key constraint "fk_rails_51975e21a8" on table "notification_recipients" DETAIL: Key (id)=(16) is still referenced from table "notification_recipients".
Attached you can find the log corresponding with the error.
May a useful information is that the user data comes from a active directory database.