Actions
Bug #20316
closedunable to delete user. leads to foreign key violation
Description
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.
Files
Updated by Ivan Necas over 7 years ago
- Project changed from Foreman Maintain to Foreman
- Category set to 218
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ohad Levy
- Pull request https://github.com/theforeman/foreman/pull/4741 added
Updated by Ohad Levy over 7 years ago
- Translation missing: en.field_release set to 287
Updated by Ohad Levy over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset ac4efbd1f26040141f83b864adbb60139d7ddcb4.
Updated by Marek Hulán over 7 years ago
- Related to Bug #20899: Unable to delete default admin user added
Updated by Marek Hulán over 7 years ago
- Related to Bug #19657: Cannot delete administrator user account: update or delete on table "users" violates foreign key constraint added
Updated by Tomer Brisker over 4 years ago
- Category changed from 218 to Users, Roles and Permissions
Actions