Bug 17105

Summary: Do not see checkouts in the table of circulation.pl
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: bc, gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Marcel de Rooy 2016-08-11 07:15:03 UTC
Saw this problem under 3.22 (but could probably have been master too):
Circulation page lists a number of checkouts.
But clicking Show checkouts does not list them in the table.

What happened?
This javascript error occurred: Sunday not defined.
Comes from includes/calendar.inc. And should be a zero. (As value for the preference CalendarFirstDayOfWeek.)

After toggling this preference a few times, I could not reproduce the problem anymore under 3.22 (Plack+memcache).
Probably a cache problem somehow.
Note that dbrev 3.21.00.015 moved the old value of Sunday to 0.

Just leaving this note here some time for future troubleshooting.
Comment 1 Barry Cannon 2016-10-14 11:51:55 UTC
We are seeing a similar problem with 16.05+. It is very apparent when using Chrome but doesn't manifest using Firefox. We also noticed the Javascript error. I haven't investigated further yet but this is happening on more than one site.
Comment 2 Owen Leonard 2016-10-17 18:10:25 UTC
(In reply to Marcel de Rooy from comment #0)

> This javascript error occurred: Sunday not defined.

I can reproduce this error in Firefox if I manually update the CalendarFirstDayOfWeek preference with the value "Sunday." Could it be a data problem from an upgrade?
Comment 3 Marcel de Rooy 2016-10-18 12:17:34 UTC
(In reply to Owen Leonard from comment #2)
> (In reply to Marcel de Rooy from comment #0)
> 
> > This javascript error occurred: Sunday not defined.
> 
> I can reproduce this error in Firefox if I manually update the
> CalendarFirstDayOfWeek preference with the value "Sunday." Could it be a
> data problem from an upgrade?

Might have been a syspref caching problem too.