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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 30 17:27:31 CEST 2017


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

--- Comment #62 from Andreas Hedström Mace <andreas.hedstrom.mace at sub.su.se> ---
Sorry, I tried today with a fresh new branch, but the same problem still
persists. The first part of the error message reads:

C4::Installer::load_sql returned the following errors while attempting to load
/home/vagrant/kohaclone/installer/data/mysql/atomicupdate/bug_17015_part1_create_discrete_calendar.sql:
DEV atomic update: bug_17015_part2_fill_discrete_calendar.perl
DBD::mysql::st execute failed: Duplicate entry 'DFLT' for key 'PRIMARY' [for
Statement "INSERT INTO branches (branchname, branchcode) VALUES(?,?)" with
ParamValues: 0='Default', 1='DFLT'] at (eval 1087) line 58.
DBD::mysql::st execute failed: Duplicate entry 'DFLT-2015-03-26 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.

And then it goes on for quite a while, with failed insert into lines.

-- 
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