Last modified: 2010-05-15 15:42:54 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 T9830, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7830 - Pending Transactions fail to commit on error page
Pending Transactions fail to commit on error page
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.8.x
All Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 9243
  Show dependency treegraph
 
Reported: 2006-11-07 14:34 UTC by Scott MacVicar
Modified: 2010-05-15 15:42 UTC (History)
1 user (show)

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


Attachments

Description Scott MacVicar 2006-11-07 14:34:05 UTC
I used a hook to create a new user using the AutoAuthenticate hook, permission
to read the pages had been disabled for non logged in users within
LocalSettings.php. The new user was inserted into the database but the
information was never committed.

Tracked it down to the following code:
$output->loginToUse();
$output->output();
exit;

When this happens there is never a call to $mediaWiki->finalCleanup so there is
no commitAll() to the database.
Comment 1 Chad H. 2009-04-10 14:27:47 UTC
Fixed in r49369

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


Navigation
Links