Skip to content
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

Deleting identities and domains results in a 500 internal server error #3173

Open
y0va opened this issue Jan 26, 2024 · 0 comments
Open

Deleting identities and domains results in a 500 internal server error #3173

y0va opened this issue Jan 26, 2024 · 0 comments

Comments

@y0va
Copy link

y0va commented Jan 26, 2024

Impacted versions

  • OS Type: Ubuntu
  • OS Version: Ubuntu 20.04.6
  • Database Type: PostgreSQL
  • Database version: 12.17
  • Modoboa: 2.2.4
  • installer used: Yes
  • Webserver: Nginx

Steps to reproduce

Delete Identity or domain in conventional or new admin interface.

Current behavior

I get 500 internal server error as result. in the psql logs I find:

2024-01-26 13:13:06.853 UTC [1318900] modoboa@modoboa ERROR:  update or delete on table "core_user" violates foreign key constraint "modoboa_contacts_addressbook_user_id_e49a5a75_fk_core_user_id" on table "modoboa_contacts_addressbook"
2024-01-26 13:13:06.853 UTC [1318900] modoboa@modoboa DETAIL:  Key (id)=(11) is still referenced from table "modoboa_contacts_addressbook".
2024-01-26 13:13:06.853 UTC [1318900] modoboa@modoboa STATEMENT:  COMMIT

Expected behavior

No error on delete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants