Error merging users with duplicate poll votes

This one’s a fun bug.

Due to poll votes not merging properly, when we merge Lancelot (id 383) → Galahad (id 120), Lancelot actually would still exist, but not have a primary email - /admin/users/383/lancelot would error with http 500 due to an anonymization check.

Anyway we’ve got a fix on the way. We’re favouring keeping Galahad’s (the target user) vote in this case of duplicates.

4 Likes