http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1313 Summary: If itemnumber is wrong or doesn't exist, maninvoice.pl fails silently Product: Koha Version: HEAD Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: Members AssignedTo: chris@katipo.co.nz ReportedBy: jmf@liblime.com QAContact: koha-bugs@nongnu.org /cgi-bin/koha/members/maninvoice.pl It's mainly a constraints problem, we should at least give the user a warning if it fails to say that the item doesn't exist. DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key constraint fails (`koha/accountlines`, CONSTRAINT `accountlines_ibfk_2` FOREIGN KEY (`itemnumber`) REFERENCES `items` (`itemnumber`) ON DELETE SET NULL ON UPDATE SET NULL) at /koha/production/intranet/modules/C4/Accounts.pm line 372. ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.