Closed luto closed 7 years ago
Yyyup, I introduced that bug about two days ago when building the feature in a slightly rushed manner.
What's even worse (and easier to fix) – if you try and add a user with an already registered email address, it tries to re-add them and crashes, too. Yeah.
These are the steps that need to be taken to close this issue, in my opinion:
_
, 123
, _speaker
, _the_third
and whatever catches your fancy.
On
/orga/event/foo/submissions/1/speakers
: When you add a speaker, whose email local part (admin@google.com
=>admin
) is already present in the database as a nickname, the app crashes.Up until now, everything is fine.
create_user_as_orga
now tries to create a new user...So, given a user
admin
exists and the orga member tries to addadmin@google.com
as a speaker, pretalx checks if a user nicknamedadmin@google.com
exists, finds there is none and then proceeds to create a new user calledadmin
which causes a crash.