[Bug 8903] New: Can't receive any orders
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8903 Priority: P5 - low Change sponsored?: --- Bug ID: 8903 Assignee: julian.maurice@biblibre.com Summary: Can't receive any orders Severity: major Classification: Unclassified OS: All Reporter: julian.maurice@biblibre.com Hardware: All Status: ASSIGNED Version: master Component: Acquisitions Product: Koha When trying to receive an order (partially or not), I got this message in log finishreceive.pl: DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key constraint fails (`koha_community_master`.`aqorders`, CONSTRAINT `aqorders_ibfk_3` FOREIGN KEY (`invoiceid`) REFERENCES `aqinvoices` (`invoiceid`) ON DELETE SET NULL ON UPDATE CASCADE) at /home/julian/koha/versions/community-master/C4/Acquisition.pm line 1344 and order is not received. This is because invoicenumber is passed to ModReceiveOrder instead of invoiceid. Bug is introduced by Bug 5335 (unhappy rebase) I'll submit a patch in a couple of minutes. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8903 --- Comment #1 from Julian Maurice <julian.maurice@biblibre.com> --- Created attachment 12770 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12770&action=edit Bug 8903: Pass invoiceid to ModReceiveOrder -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8903 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8903 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nengard@gmail.com --- Comment #2 from Nicole C. Engard <nengard@gmail.com> --- *** Bug 8929 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8903 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #12770|0 |1 is obsolete| | --- Comment #3 from Nicole C. Engard <nengard@gmail.com> --- Created attachment 12855 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12855&action=edit [SIGNED-OFF] Bug 8903: Pass invoiceid to ModReceiveOrder Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8903 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8903 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |blocker -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8903 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA CC| |jonathan.druart@biblibre.co | |m --- Comment #4 from Jonathan Druart <jonathan.druart@biblibre.com> --- QA Comment: The routine ModReceiveOrder takes an invoiceid, not an invoicenumber. Simple fix for a big issue. Marked as Passed QA. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8903 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact| |jonathan.druart@biblibre.co | |m -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8903 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |paul.poulain@biblibre.com Version|master |rel_3_10 --- Comment #5 from Paul Poulain <paul.poulain@biblibre.com> --- Obvious bugfix, patch pushed -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8903 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |RESOLVED Resolution|--- |FIXED --- Comment #6 from Julian Maurice <julian.maurice@biblibre.com> --- Ok in master. Bug not present in stable. Marked as resolved. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8903 Starry Eigenman <acquisitions@jfku.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |acquisitions@jfku.edu -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org