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

Benjamin Rokseth <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Patch doesn't apply         |Needs Signoff
                 CC|                            |[email protected]
                   |                            |ommune.no

--- Comment #92 from Benjamin Rokseth <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to