[Koha-bugs] [Bug 8903] New: Can't receive any orders

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 11 14:38:21 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8903

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8903
          Assignee: julian.maurice at biblibre.com
           Summary: Can't receive any orders
          Severity: major
    Classification: Unclassified
                OS: All
          Reporter: julian.maurice at 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.


More information about the Koha-bugs mailing list