http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8903
Priority: P5 - low
Change sponsored?: ---
Bug ID: 8903
Assignee: [email protected]
Summary: Can't receive any orders
Severity: major
Classification: Unclassified
OS: All
Reporter: [email protected]
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.
_______________________________________________
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/