Page MenuHomePhabricator

Unexpected error when merging two users
Closed, ResolvedPublic

Description

UserMerge usually works well, but I have a few users that consistently give me this error stack when I try to merge them to a specific user. When I try merging them with a different user, it is succesful.

[70c785d9] /ebt/wiki/index.php/Special:UserMerge DBUnexpectedError from line 2172 of /home/htdocs/WWW/ebt/wiki/includes/db/Database.php: DatabaseBase::makeList called with incorrect parameters

Backtrace:

#0 /home/htdocs/WWW/ebt/wiki/includes/db/Database.php(2150): DatabaseBase->makeList(string, integer)
#1 /home/htdocs/WWW/ebt/wiki/extensions/UserMerge/MergeUser.php(134): DatabaseBase->update(string, array, string)
#2 /home/htdocs/WWW/ebt/wiki/extensions/UserMerge/MergeUser.php(203): MergeUser->mergeBlocks(DatabaseMysqli)
#3 /home/htdocs/WWW/ebt/wiki/extensions/UserMerge/MergeUser.php(31): MergeUser->mergeDatabaseTables()
#4 /home/htdocs/WWW/ebt/wiki/extensions/UserMerge/SpecialUserMerge.php(126): MergeUser->merge(User)
#5 [internal function]: SpecialUserMerge->onSubmit(array, HTMLForm)
#6 /home/htdocs/WWW/ebt/wiki/includes/htmlform/HTMLForm.php(546): call_user_func(array, array, HTMLForm)
#7 /home/htdocs/WWW/ebt/wiki/includes/htmlform/HTMLForm.php(469): HTMLForm->trySubmit()
#8 /home/htdocs/WWW/ebt/wiki/includes/htmlform/HTMLForm.php(484): HTMLForm->tryAuthorizedSubmit()
#9 /home/htdocs/WWW/ebt/wiki/includes/specialpage/FormSpecialPage.php(150): HTMLForm->show()
#10 /home/htdocs/WWW/ebt/wiki/includes/specialpage/SpecialPage.php(384): FormSpecialPage->execute(NULL)
#11 /home/htdocs/WWW/ebt/wiki/includes/specialpage/SpecialPageFactory.php(582): SpecialPage->run(NULL)
#12 /home/htdocs/WWW/ebt/wiki/includes/MediaWiki.php(267): SpecialPageFactory::executePath(Title, RequestContext)
#13 /home/htdocs/WWW/ebt/wiki/includes/MediaWiki.php(566): MediaWiki->performRequest()
#14 /home/htdocs/WWW/ebt/wiki/includes/MediaWiki.php(414): MediaWiki->main()
#15 /home/htdocs/WWW/ebt/wiki/index.php(41): MediaWiki->run()
#16 {main}

Event Timeline

Mdeen created this task.Aug 8 2015, 12:42 PM
Mdeen updated the task description. (Show Details)
Mdeen raised the priority of this task from to Needs Triage.
Mdeen added a subscriber: Mdeen.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 8 2015, 12:42 PM
Glaisher claimed this task.Aug 8 2015, 4:09 PM
Glaisher added a subscriber: Glaisher.

Currently, it's doing a concatenation where it should actually be an argument separator.

Change 230311 had a related patch set uploaded (by Glaisher):
Fix typo in MergeUser::mergeBlocks()

https://gerrit.wikimedia.org/r/230311

Change 230311 merged by jenkins-bot:
Fix typo in MergeUser::mergeBlocks()

https://gerrit.wikimedia.org/r/230311

Change 230371 had a related patch set uploaded (by Legoktm):
Fix typo in MergeUser::mergeBlocks()

https://gerrit.wikimedia.org/r/230371

Change 230371 merged by jenkins-bot:
Fix typo in MergeUser::mergeBlocks()

https://gerrit.wikimedia.org/r/230371

Legoktm closed this task as Resolved.Aug 8 2015, 11:22 PM
Legoktm added a subscriber: Legoktm.

Backported to REL1_25 as well. Sorry about that :/