[Koha-bugs] [Bug 14695] Add ability to place multiple item holds on a given record per patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 8 12:29:21 CEST 2016


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

Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Patch doesn't apply         |Needs Signoff
                 CC|                            |benjamin.rokseth at kul.oslo.k
                   |                            |ommune.no

--- Comment #92 from Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no> ---
Rebased to fix t::lib::Mocks::mock_preference conflict

Getting failed test though:

ok 65 - Bug 14464 - Fine applied after cancelling reserve with charge desired
and configured
DBD::mysql::st execute failed: Duplicate entry '21' for key 'PRIMARY' [for
Statement "INSERT INTO `reserves` ( `biblionumber`, `borrowernumber`,
`branchcode`, `cancellationdate`, `expirationdate`, `found`, `itemnumber`,
`lowestPriority`, `notificationdate`, `priority`, `reminderdate`, `reserve_id`,
`reservedate`, `reservenotes`, `suspend`, `suspend_until`, `timestamp`,
`waitingdate`) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )"
with ParamValues: 0='1', 1='1', 2='CPL', 3=undef, 4=undef, 5='F', 6=undef,
7='0', 8=undef, 9=0, 10=undef, 11='21', 12='2016-04-08', 13='', 14='0',
15=undef, 16='2016-04-08 10:12:53', 17=undef] at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.
DBIx::Class::Storage::DBI::_execute(): DBD::mysql::st execute failed: Duplicate
entry '21' for key 'PRIMARY' [for Statement "INSERT INTO `reserves` (
`biblionumber`, `borrowernumber`, `branchcode`, `cancellationdate`,
`expirationdate`, `found`, `itemnumber`, `lowestPriority`, `notificationdate`,
`priority`, `reminderdate`, `reserve_id`, `reservedate`, `reservenotes`,
`suspend`, `suspend_until`, `timestamp`, `waitingdate`) VALUES ( ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )" with ParamValues: 0='1', 1='1',
2='CPL', 3=undef, 4=undef, 5='F', 6=undef, 7='0', 8=undef, 9=0, 10=undef,
11='21', 12='2016-04-08', 13='', 14='0', 15=undef, 16='2016-04-08 10:12:53',
17=undef] at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832. at
Koha/Object.pm line 109
# Looks like you planned 71 tests but ran 65.

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


More information about the Koha-bugs mailing list