Page MenuHomePhabricator

"Blocklist empty" displayed even if blocklist not empty
Closed, ResolvedPublic

Description

Author: webmaster

Description:
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.


Version: unspecified
Severity: minor
URL: http://www.marveldatabase.com/wiki/index.php/Special:Ipblocklist

Details

Reference
bz4881

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:04 PM
bzimport set Reference to bz4881.
bzimport added a subscriber: Unknown Object (MLST).

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.

Created attachment 1372
diff for Block.php 1.29 to 1.29.2.1

Backports the return value in Block::enumBlocks so that the usage of it in
Special:Ipblocks works correctly.

Attached:

Fixed in REL1_5, will be in 1.5.7. Apply patch above to fix a local installation
separately.