GROUPS_PER_PAGE is not being defined

GROUPS_PER_PAGE is not being defined

Issue ID:3605
Issue Category:bug
Component:core
Priority:major
Status:fixed
Assigned:jpope
Version:1.0
Keywords:1.1.0alpha, group lists

This is concerning the 1.1.0alpha.

It seems that GROUPS_PER_PAGE is not being defined anywhere, causing the group lists (both site wide and at the user level) to not be populated.

On my instance, I added:
define('GROUPS_PER_PAGE', 20); to lib/grouplist.php to recify the issue.

Updates

#1

After digging around a little, the proper place for this fix is lib/framework.php. Looks like it was there for 1.0.x but dropped off for 1.1.x.

Anyway, the fix is here.

#2

I can confirm this bug! No definition is in any of the files for 1.1.0alpha1. Among other things, this causes a problem when listing groups for a user, like so: https://freesocial.org/mmn/groups

In 1.0.x, this was defined on line 37 in lib/framework.php as such:
https://gitorious.org/statusnet/mainline/blobs/1.0.x/lib/framework.php#l...

Oddly enough only this one definition is missing there.

#3

Priority:normal» major

#4

Status:active» fixed

This has been fixed with this commit: https://gitorious.org/statusnet/mainline/commit/e2b4c203a6d7b33e73afddd6...

#5

Assigned to:Anonymous» jpope
Login or Register to modify this issue, or to receive updates by email.

You can also subscribe to the RSS feed for updates to this issue.