← Back to team overview

mahara-contributors team mailing list archive

[Bug 1861370] A change has been merged

 

Reviewed:  https://reviews.mahara.org/10739
Committed: https://git.mahara.org/mahara/mahara/commit/b275d51059815b139660c2b0286e4980c712a4cc
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit b275d51059815b139660c2b0286e4980c712a4cc
Author: Cecilia Vela Gurovic <ceciliavg@xxxxxxxxxxxxxxx>
Date:   Thu Jan 30 16:49:11 2020 +1300

Bug 1861370: group member search fatal error

Check offset parameter for pagination works in
- Admin menu-> user search
- Normal menu -> Engage -> group search
- group member search in any agroup

behatnotneeded

Change-Id: Iee1e5761cd4121ad18d513173f2c972dd22650ee

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1861370

Title:
  group member search could result in fatal error message

Status in Mahara:
  Fix Committed

Bug description:
  group member search could result in fatal error message:
  A nonrecoverable error occurred. This probably means you have encountered a bug in the system

  in mahara.org we can see that by searching group members and adding the parameters on the url
  &limit=10&setlimit=77&sortoption=adminfirst&offset=9860

  The offset must be higher than the number of group members in order to
  trigger the error.

  this happens because there is a difference between the SQL query we use for counting the results and the one we use for getting the actual results.
  The count can be higher than the result numbers

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1861370/+subscriptions


References