Bug 17105 - Do not see checkouts in the table of circulation.pl
Summary: Do not see checkouts in the table of circulation.pl
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: master
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-11 07:15 UTC by Marcel de Rooy
Modified: 2020-11-30 21:45 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.