Bug 9324

Summary: Reserves cannot be deleted with DEBUG on under Plack
Product: Koha Reporter: Jared Camins-Esakov <jcamins>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: CLOSED WORKSFORME QA Contact:
Severity: blocker    
Priority: P5 - low CC: chris, gmcharlt, jonathan.druart, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Jared Camins-Esakov 2012-12-27 14:37:45 UTC
When I try to delete a reserve I get the following error:
DBD::mysql::st execute failed: Duplicate entry '10' for key 'PRIMARY' at /home/jcamins/kohaclone/C4/Reserves.pm line 1081.DBD::mysql::st execute failed: Duplicate entry '10' for key 'PRIMARY' at /home/jcamins/kohaclone/C4/Reserves.pm line 1081. at /home/jcamins/kohaclone/reserve/modrequest.pl line 91
Comment 1 Jonathan Druart 2013-04-16 08:32:25 UTC
Hi Jared,
Is it still valid? I cannot reproduce.
I think the error occurs when the reservenumber already exists in old_reserves (so it should occur without Plack too).