[Koha-bugs] [Bug 17015] New Koha Calendar

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 30 22:04:52 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17015

--- Comment #64 from Andreas Hedström Mace <andreas.hedstrom.mace at sub.su.se> ---
It lines and lines of this type:

DBD::mysql::st execute failed: Duplicate entry 'FRESC-2017-03-24 00:00:00' for
key 'PRIMARY' [for Statement "INSERT INTO discrete_calendar
(date,branchcode,isopened,holidaytype,note,openhour,closehour) VALUES
(?,?,?,?,?,?,?)" with ParamValues: 0=DateTime=HASH(0x57ab3f0), 1='FRESC', 2=1,
3='', 4='', 5='09:00:00', 6='17:00:00'] at (eval 1087) line 163.
DBD::mysql::st execute failed: Duplicate entry 'GEO-2017-03-24 00:00:00' for
key 'PRIMARY' [for Statement "INSERT INTO discrete_calendar
(date,branchcode,isopened,holidaytype,note,openhour,closehour) VALUES
(?,?,?,?,?,?,?)" with ParamValues: 0=DateTime=HASH(0x57ab3f0), 1='GEO', 2=1,
3='', 4='', 5='09:00:00', 6='17:00:00'] at (eval 1087) line 163.
DBD::mysql::st execute failed: Duplicate entry 'DFLT-2017-03-25 00:00:00' for
key 'PRIMARY' [for Statement "INSERT INTO discrete_calendar
(date,branchcode,isopened,holidaytype,note,openhour,closehour) VALUES
(?,?,?,?,?,?,?)" with ParamValues: 0=DateTime=HASH(0x57ab3f0), 1='DFLT', 2=1,
3='', 4='', 5='09:00:00', 6='17:00:00'] at (eval 1087) line 163.
DBD::mysql::st execute failed: Duplicate entry 'FRESC-2017-03-25 00:00:00' for
key 'PRIMARY' [for Statement "INSERT INTO discrete_calendar
(date,branchcode,isopened,holidaytype,note,openhour,closehour) VALUES
(?,?,?,?,?,?,?)" with ParamValues: 0=DateTime=HASH(0x57ab3f0), 1='FRESC', 2=1,
3='', 4='', 5='09:00:00', 6='17:00:00'] at (eval 1087) line 163.
DBD::mysql::st execute failed: Duplicate entry 'GEO-2017-03-25 00:00:00' for
key 'PRIMARY' [for Statement "INSERT INTO discrete_calendar
(date,branchcode,isopened,holidaytype,note,openhour,closehour) VALUES
(?,?,?,?,?,?,?)" with ParamValues: 0=DateTime=HASH(0x57ab3f0), 1='GEO', 2=1,
3='', 4='', 5='09:00:00', 6='17:00:00'] at (eval 1087) line 163.

FRESC, GEO and DFLT are of course the branchcodes. It can be as you say that
this is not important for testing.

But when I try to go to Tools > Discrete calendar in the staff interface I
encounter a "not found" page.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list