koha-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-bugs] [Bug 633] MARC Upload fails silently


From: bugzilla-daemon
Subject: [Koha-bugs] [Bug 633] MARC Upload fails silently
Date: 9 Nov 2003 22:57:42 -0000

http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=633





------- Additional Comments From address@hidden  2003-11-10 11:57 -------
The above patch results from the following test that shows that $marcrecord is
never undef even if no valid fields are read from the file.

$ perl -MMARC::File::USMARC
print MARC::File::USMARC::decode('')."\n";
MARC::Record=HASH(0x813b988)

Instead, the following test for number of fields is used instead:

$ perl -MMARC::File::USMARC
print MARC::File::USMARC::decode('')->fields()."\n";
0




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]