You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/invitations/views.py, line 72 fails with django.db.utils.IntegrityError: UNIQUE constraint failed: invitations_invitation.email when a user was invited previously but their invitation expired.
There seem two ways to fix it - either improve the Invitation class create method to remove the invalid invitation first or fix the logic of the CleanEmailMixin().validate_invitation(invitee).
I want to fix it, so probably I would provide a PR...
The text was updated successfully, but these errors were encountered:
Huge
linked a pull request
Feb 27, 2024
that will
close
this issue
/invitations/views.py, line 72 fails with
django.db.utils.IntegrityError: UNIQUE constraint failed: invitations_invitation.email
when a user was invited previously but their invitation expired.There seem two ways to fix it - either improve the
Invitation
classcreate
method to remove the invalid invitation first or fix the logic of theCleanEmailMixin().validate_invitation(invitee)
.I want to fix it, so probably I would provide a PR...
The text was updated successfully, but these errors were encountered: