When browsing for a patron by last name the patron result page processes indefinitely instead of displaying results. This is after browser cache has been cleared.
Created attachment 65287 [details] [review] Bug 18987 - Added Koha::Account package pragma to Patron.pm Test plan: 1. On an up to date branch go to Patrons and try to browse for a patron by last name 2. Notice that the page processes indefinately 3. Apply patch 4. Repeat step 1 5. Notice the patron results are displayed
I've noticed other scenarios where the patron result page processes indefinitely as well (typically when an invalid JSON response is returned), but I'll save that for another day. I'll check this out now.
The patron browse is super slow... but I imagine that pre-dates the patch, so I'll sign it off in a moment.
Created attachment 65290 [details] [review] Bug 18987 - Added Koha::Account package pragma to Patron.pm Test plan: 1. On an up to date branch go to Patrons and try to browse for a patron by last name 2. Notice that the page processes indefinately 3. Apply patch 4. Repeat step 1 5. Notice the patron results are displayed Signed-off-by: David Cook <dcook@prosentient.com.au> Works as described.
Thanks David
The changes make sense but I do not recreate the error.
I guess it has been caused by bug 17585.
Check your logs. Seeing problems with rounding large numbers etc? Than maybe running a few tests created very large numbers in patron related tables. And they could be the cause of no results.
Fwiw, I created a database from scratch and inserted all the sample data, and that's how I reproduced it.
Created attachment 65307 [details] [review] Bug 18987 - Added Koha::Account package pragma to Patron.pm Test plan: 1. On an up to date branch go to Patrons and try to browse for a patron by last name 2. Notice that the page processes indefinately 3. Apply patch 4. Repeat step 1 5. Notice the patron results are displayed Signed-off-by: David Cook <dcook@prosentient.com.au> Works as described. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Pushed to master for 17.11, thanks to everybody involved!
Did not recreate but pushed anyway. Cannot hurt.
Pushed to 17.05.x, will be in 17.05.03.
Dependency and bug are not in 16.11.x.