Last modified: 2008-10-23 04:43:24 UTC
I've requested changing my username on dewiki, enwiki, metawiki and commons for privacy reasons. But on metawiki it fails: 17:59, 7 October 2008 Alexanderps (Talk | contribs) has renamed User:Misterjack to "M-J" (2 edits. Reason: request http://meta.wikimedia.org/wiki/Meta:Changing_username#Misterjack_.E2.86.92_M-J). But I can login only with Misterjack, M-J doesn't exist. When I try to create a SUL-Account on dewiki, then I get following error: Interner Fehler Bad user row looking up local user M-J@metawiki Backtrace: #0 /usr/local/apache/common-local/php-1.5/extensions/CentralAuth/CentralAuthUser.php(622): CentralAuthUser->queryUnattached() #1 /usr/local/apache/common-local/php-1.5/extensions/CentralAuth/SpecialMergeAccount.php(169): CentralAuthUser->migrationDryRun(Array, false, Array, Array, Array) #2 /usr/local/apache/common-local/php-1.5/extensions/CentralAuth/SpecialMergeAccount.php(56): SpecialMergeAccount->doDryRunMerge() #3 /usr/local/apache/common-local/php-1.5/includes/SpecialPage.php(537): SpecialMergeAccount->execute(NULL) #4 /usr/local/apache/common-local/php-1.5/includes/Wiki.php(225): SpecialPage::executePath(Object(Title)) #5 /usr/local/apache/common-local/php-1.5/includes/Wiki.php(55): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest)) #6 /usr/local/apache/common-local/php-1.5/index.php(93): MediaWiki->initialize(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest)) #7 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...') #8 {main} Thanks in advance.
After renaming again it works now.
Possibly an issue with onRenameUserComplete( $userId, $oldName, $newName ) setting the new name with incomplete data.
BTW, where the edits moved over the first time?
And what do you mean by "When I try to create a SUL-Account on dewiki"? What are the steps?
I wonder if the renaming admin got an error on rename. One issue here is that the add/remove name functions commit immediately, and the local db rename functions wait till the end of the MW request. If there is a DB error locally, it will rollback the user table but leave the central auth table with a broken row (which would cause the above error) and missing the name row for the user's name (still the old one if it fails).
(In reply to comment #5) > I wonder if the renaming admin got an error on rename. One issue here is that > the add/remove name functions commit immediately, and the local db rename > functions wait till the end of the MW request. If there is a DB error locally, > it will rollback the user table but leave the central auth table with a broken > row (which would cause the above error) and missing the name row for the user's > name (still the old one if it fails). > Fixed in r42202
Odd, http://meta.wikimedia.org/w/index.php?title=Special%3ALog&type=renameuser&user=Alexanderps&page=&year=&month=-1 has both entries but http://meta.wikimedia.org/w/index.php?title=Special%3ALog&type=renameuser&user=Alexanderps&page=User%3AMisterjack&year=&month=-1 does not.
mysql> SELECT log_title,log_timestamp FROM `logging` WHERE log_type = 'renameuser' ORDER BY log_timestamp DESC LIMIT 10; +-------------+----------------+ | log_title | log_timestamp | +-------------+----------------+ <snip/> | Misterjack | 20081009010110 | | Trace | 20081008233931 | | Misterjack_ | 20081007175958 | <snip/> +-------------+----------------+ 10 rows in set (0.00 sec) There may lie the problem...
Fixed in r41347