Page MenuHomePhabricator

Pending Transactions fail to commit on error page
Closed, ResolvedPublic


Author: scott

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:

When this happens there is never a call to $mediaWiki->finalCleanup so there is
no commitAll() to the database.

Version: 1.8.x
Severity: normal
OS: Linux



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:23 PM
bzimport added a project: Wikimedia-Rdbms.
bzimport set Reference to bz7830.
bzimport added a subscriber: Unknown Object (MLST).