Last modified: 2014-09-29 21:21:42 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 T72496, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70496 - Internal error in ApiQueryAllUsers::execute: MediaWiki configuration error: The database contains more user groups than known to User::getAllGroups() function
Internal error in ApiQueryAllUsers::execute: MediaWiki configuration error: T...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.24rc
All All
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-06 18:45 UTC by db [inactive,noenotif]
Modified: 2014-09-29 21:21 UTC (History)
5 users (show)

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


Attachments

Description db [inactive,noenotif] 2014-09-06 18:45:27 UTC
The following query gives an error:
https://de.wikipedia.org/w/api.php?action=query&list=allusers&augroup=editor|autoreview&aulimit=1&auwitheditsonly=&aufrom=Halo1976

The original query used from client has limit=max, but the problem seems to be at this user, because it also fails for limit=1
Comment 1 Gerrit Notification Bot 2014-09-06 19:30:26 UTC
Change 158889 had a related patch set uploaded by Anomie:
API: Fix list=allusers with multiple values for augroup

https://gerrit.wikimedia.org/r/158889
Comment 2 db [inactive,noenotif] 2014-09-06 19:54:42 UTC
The idea with prop=groups is good, when using that query [1] some groups are double listed (and consumed to many of the limit). Is that also fixed with the change or another bug?

[1] https://de.wikipedia.org/w/api.php?action=query&list=allusers&augroup=editor|autoreview&aulimit=5&auwitheditsonly=&aufrom=Halo1976&auprop=groups
Comment 3 Brad Jorsch 2014-09-06 20:08:07 UTC
The double listing is also fixed with the change. What's happening there is that it's listing each user's groups for as many times as the user matches augroup.

Note that auprop=groups often won't reach the limit, unless all the users have 0 or 1 non-automatic groups. This is intended behavior.
Comment 4 Gerrit Notification Bot 2014-09-12 17:27:05 UTC
Change 158889 merged by jenkins-bot:
API: Fix list=allusers with multiple values for augroup

https://gerrit.wikimedia.org/r/158889
Comment 5 Umherirrender 2014-09-12 18:30:33 UTC
successfully merged
Comment 6 Brad Jorsch 2014-09-26 13:16:35 UTC
Change was reverted.
Comment 7 Gerrit Notification Bot 2014-09-29 16:36:09 UTC
Change 163596 had a related patch set uploaded by Anomie:
API: Rewrite queries for list=allusers

https://gerrit.wikimedia.org/r/163596
Comment 8 Gerrit Notification Bot 2014-09-29 20:36:36 UTC
Change 163596 merged by jenkins-bot:
API: Rewrite queries for list=allusers

https://gerrit.wikimedia.org/r/163596
Comment 9 Brad Jorsch 2014-09-29 21:21:42 UTC
Re-fixed. Should be deployed to WMF wikis with 1.25wmf2, see https://www.mediawiki.org/wiki/MediaWiki_1.25/Roadmap for the schedule.

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


Navigation
Links