[Koha-bugs] [Bug 1313] New: If itemnumber is wrong or doesn't exist, maninvoice.pl fails silently
bugzilla-daemon at daddy.katipo.co.nz
bugzilla-daemon at daddy.katipo.co.nz
Tue Mar 20 02:38:07 CET 2007
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 at katipo.co.nz
ReportedBy: jmf at liblime.com
QAContact: koha-bugs at 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.
More information about the Koha-bugs
mailing list