Last modified: 2014-02-06 16:03:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T46365, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44365 - DB error on enrollment
DB error on enrollment
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
EducationProgram (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 43781 44519 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-26 01:30 UTC by Chris Steipp
Modified: 2014-02-06 16:03 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chris Steipp 2013-01-26 01:30:42 UTC
After enrolling, and adding a Real Name, I get the error:

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
from within function "ORMRow::insert". Database returned error "1062: Duplicate entry '1746' for key 'ep_students_user_id' (10.64.16.8)".
Comment 1 Jeroen De Dauw 2013-01-26 18:37:31 UTC
Tried a bunch of things and could not reproduce. Where are you seeing this? Can you provide a more detailed stack trace? Or more detailed instructions on how to reproduce?
Comment 2 Andre Klapper 2013-01-26 18:45:26 UTC
Duplicate of bug 43781?
Comment 3 Jeroen De Dauw 2013-01-28 15:22:18 UTC
*** Bug 43781 has been marked as a duplicate of this bug. ***
Comment 4 Chris Steipp 2013-01-28 16:13:34 UTC
Hi Jeroen,

Sage gave me a code to enroll on test2wiki. After putting in my token, the next page (iirc) asked for the optional full name and gender. I added my full name, did not add a gender, and submitted the form. The original comment on this bug was the error message that was shown. I did not get a stack trace from the server.
Comment 5 Andre Klapper 2013-01-30 19:54:59 UTC
*** Bug 44519 has been marked as a duplicate of this bug. ***
Comment 6 Andre Klapper 2013-01-30 19:55:17 UTC
Copying from bug 44519:

Wed Jan 30 19:39:43 UTC 2013    mw1033  enwiki  ORMRow::insert  10.64.16.6     
1062    Duplicate entry '18357919' for key 'ep_students_user_id' (10.64.16.6)  
INSERT  INTO `ep_students`
(student_id,student_user_id,student_first_enroll,student_first_course,student_last_enroll,student_last_course)
VALUES (NULL,'18357919','20130130193943','8','20130130193943','8')
Comment 7 Jeroen De Dauw 2013-01-30 20:52:30 UTC
I can still not reproduce this. Perhaps the issue no longer exists on master?
Comment 8 Jeroen De Dauw 2013-01-30 20:53:05 UTC
Follow the steps specified by Chris, except filling in the real name, as this field is no longer there.
Comment 9 Jeroen De Dauw 2013-01-30 20:56:29 UTC
Can someone confirm this is still occurring after a0bc093633cad19e5e7f99598ad899b4c4c7fb18 or later got deployed?
Comment 10 Andre Klapper 2013-02-18 13:37:56 UTC
Chris / Aaron: Can someone confirm this is still occurring after
a0bc093633cad19e5e7f99598ad899b4c4c7fb18 or later got deployed?
Comment 11 Jeroen De Dauw 2013-02-18 14:32:49 UTC
This commit touches relevant code and fixes a s bug in it, so might also fix this issue: https://gerrit.wikimedia.org/r/#/c/49654/
Comment 12 Sage Ross 2014-02-06 16:03:51 UTC
Haven't seen this in a long while, so it appears to have gotten fixed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links