Skip to content

Weird behavour if user who voted is deleted #269

@Elblinator

Description

@Elblinator

Reproduction:

  1. Create a participant, add them to delegate group
  2. Start a poll (in my test it was non-nominal)
  3. vote with the new participant
  4. stop/publish the poll
  5. Delete the user
  6. tadaaa, errors from AU:
autoupdate-1  | 12:40:14 ERROR  Error: creating key list from notification: the key/fqfield is invalid: history_entry/52/model_id_user_id
autoupdate-1  | creating key list from notification: the key/fqfield is invalid: history_entry/57/model_id_user_id

Additional:
Same behaviour if the user delegated to another user and they voted for them
Also same behaviour if the deleted user only voted for someone else

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions