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

New online notifications blocks data privacy user deletion #3942

Closed
rolfschmidt opened this issue Feb 2, 2022 · 0 comments
Closed

New online notifications blocks data privacy user deletion #3942

rolfschmidt opened this issue Feb 2, 2022 · 0 comments

Comments

@rolfschmidt
Copy link
Collaborator

Infos:

  • Used Zammad version: 5.0
  • Installation method (source, package, ..): all
  • Operating system: all
  • Database + version: all
  • Elasticsearch version: all
  • Browser + version: all

Expected behavior:

  • User should get deleted.

Actual behavior:

#<ActiveRecord::InvalidForeignKey: PG::ForeignKeyViolation: ERROR:  update or delete on table "users" violates foreign key constraint "fk_rails_bc45d196c5" on table "online_notifications"
DETAIL:  Key (id)=(4) is still referenced from table "online_notifications".
>

Steps to reproduce the behavior:

  • A heavy used user will get new online notifications while he is getting deleted. The user should get disabled first to prevent unnecessary online notifications which block the final deletion of the user row.

Yes I'm sure this is a bug and no feature request or a general question.

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

1 participant