Last modified: 2010-05-15 18:03:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 23534 - list=allusers with prop=blockinfo and witheditsonly gives error
list=allusers with prop=blockinfo and witheditsonly gives error
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
Depends on:
  Show dependency treegraph
Reported: 2010-05-15 17:43 UTC by Umherirrender
Modified: 2010-05-15 18:03 UTC (History)
5 users (show)

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


Description Umherirrender 2010-05-15 17:43:11 UTC
For the added url, I get a api-error.

<?xml version="1.0"?>
  <error code="internal_api_error_DBQueryError" info="Database query error" xml:space="preserve">

#0 /usr/local/apache/common-local/wmf-deployment/includes/db/Database.php(538): DatabaseBase->reportQueryError('Column 'user_ed...', 1052, 'SELECT  ipb_rea...', 'ApiQueryAllUser...', false)
#1 /usr/local/apache/common-local/wmf-deployment/includes/db/Database.php(874): DatabaseBase->query('SELECT  ipb_rea...', 'ApiQueryAllUser...')
#2 /usr/local/apache/common-local/wmf-deployment/includes/api/ApiQueryBase.php(233): DatabaseBase->select(Array, Array, Array, 'ApiQueryAllUser...', Array, Array)
#3 /usr/local/apache/common-local/wmf-deployment/includes/api/ApiQueryAllUsers.php(114): ApiQueryBase->select('ApiQueryAllUser...')
#4 /usr/local/apache/common-local/wmf-deployment/includes/api/ApiQuery.php(224): ApiQueryAllUsers->execute()
#5 /usr/local/apache/common-local/wmf-deployment/includes/api/ApiMain.php(478): ApiQuery->execute()
#6 /usr/local/apache/common-local/wmf-deployment/includes/api/ApiMain.php(267): ApiMain->executeAction()
#7 /usr/local/apache/common-local/wmf-deployment/includes/api/ApiMain.php(251): ApiMain->executeActionWithErrorHandling()
#8 /usr/local/apache/common-local/wmf-deployment/api.php(116): ApiMain->execute()
#9 /usr/local/apache/common-local/live-1.5/api.php(3): require('/usr/local/apac...')
#10 {main}


Comment 1 Bryan Tong Minh 2010-05-15 17:52:28 UTC
1052: Column is ambiguous
Comment 2 Bryan Tong Minh 2010-05-15 17:55:57 UTC
SELECT /* ApiQueryAllUsers::execute  */  ipb_reason,u2.user_name AS blocker_name,u1.user_name  FROM `user` u1 FORCE INDEX (user_name) LEFT JOIN `ipblocks` ON ((ipb_user=u1.user_id)) LEFT JOIN `user` u2 ON ((ipb_by=u2.user_id))  WHERE (user_editcount > 0)  ORDER BY u1.user_name LIMIT 11
Comment 3 Roan Kattouw 2010-05-15 18:03:52 UTC
Fixed in r66486, fix deployed.

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