Closed eyedol closed 11 years ago
Looks like this happens when the email address was already in the users table, then the users updates email in the mobile app. The user gets loaded based on device id/mobile id and then we try to update it with the new email details.
Not sure on the best solution here.. should we delete the mobileid based users and pair this checkin and future/older ones against the email based user? @eyedol thoughts?
Or I could just throw an error saying 'email in use'? but that doesnt make much sense without proper API auth
Seeing checkins are as good as obsolete, closing this!
Database error: Duplicate entry 'addhen@linuxmail.org' for key 'uniq_email' - UPDATE
users
SETname
= 'Henry Addo',email
= 'myemail@hostname.com' WHEREid
= 6To reproduce this, try submitting a checkin with the same full name and email address on different devices.