Last modified: 2006-02-05 23:15:26 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 4881 - "Blocklist empty" displayed even if blocklist not empty
"Blocklist empty" displayed even if blocklist not empty
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-02-05 22:31 UTC by Jamie Hari
Modified: 2006-02-05 23:15 UTC (History)
0 users

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

diff for Block.php 1.29 to (1.49 KB, patch)
2006-02-05 23:14 UTC, Brion Vibber

Description Jamie Hari 2006-02-05 22:31:27 UTC
The blocklist is empty - message displayed even when the list is not empty.

Fairly self-explanitory, I am sure this is probably just boolean isEmpty()
problem or something... Should be easy to fix.
Comment 1 Brion Vibber 2006-02-05 23:04:51 UTC
This is due to an incorrect backport of the fix for bug 1487 from HEAD to REL1_5 during 
beta stage. The function being called doesn't return a value in 1.5, so always 
evaluates to false.
Comment 2 Brion Vibber 2006-02-05 23:14:44 UTC
Created attachment 1372 [details]
diff for Block.php 1.29 to

Backports the return value in Block::enumBlocks so that the usage of it in
Special:Ipblocks works correctly.
Comment 3 Brion Vibber 2006-02-05 23:15:26 UTC
Fixed in REL1_5, will be in 1.5.7. Apply patch above to fix a local installation 

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