Open TheRealBro opened 7 years ago
smells like trying to save twice within a transaction?
This is an isolated case, and I haven't seen it be reproduced. The error in errbit is no longer available, the email which I still have says:
`ERROR MESSAGE: Mysql2::Error: Duplicate entry 'user_email_here' for key 'index_users_on_email'
WHERE: conference#show
app/models/user.rb:100`
In events.o.o that line of code corresponds to https://github.com/openSUSE/osem/blob/master/app/models/user.rb#L137
In https://github.com/openSUSE/osem/blob/master/app/models/user.rb#L132 the user is found by the username. Also this particular user has 2 accounts on events.o.o. I wonder if there is a mixup with username and email between those accounts, but I cannot confirm what is being sent through ichain.
Perhaps if we can re-trigger the error we can take a look at the parameters.
Closing, as it hasn't been reproduced.
Seems like it's time to move to pretalx or frab o.O - are there any logs or information from the "trying to reproduce but didn't work"? Are there any questions we could maybe help with?
This happens if MF-IT changes peoples email addresses. The whole authorization logic is build around that this never happens. But it does some times.
@darix is there a particular user that is affected by this?
no this has nothing to do with MFIT changing email addresses. this happened to myself or a friend when trying to sign up for the first time. that's why the find by email reported not found.
@darix when and where?
I know of 2 times this happened, if I am not mistaken it was around oSC17 and oSC16. This happened specifically in openSUSE OSEM instance - it uses ichain so it is not possible to duplicate without a SUSE account.
Please also note that the user did already have some account on the OSEM instance.
@differentreality I guess we have two issues here. One when all of the sudden there is a new user in ichain with the same email address. And the other one @darix has seen.
PLACEHOLDER issue for @darix (please add your information)