@@ -, +, @@ actions list --------- git checkout master git pull git checkout -b bug_19771 origin/master git bz apply 19771 -- This should be quite uneventful. Standard promptings. git checkout master reset_all sudo koha-shell -c bash kohadev ./misc/cronjobs/create_te_koc_db.pl --sqlite3 -- This will create a borrowers.db in your current directory. -- https://sourceforge.net/projects/koha-oc/files/ download and install. Database -> Select Borrowers DB File check in, check out, check in (bad barcode), pay fines (any non-zero amount). restart_all -- we want to make sure caching for plack isn't in the way. -> Upload offline circulation file (.koc) -- This should die. Reading /var/log/koha/kohadev/plack-error.log should be the same error as comment #0. However, this was only the bad biblio error. git checkout bug_19771 restart_all -- it should all come up. git checkout master restart_all -- it should die. Same error as comment #0. This confirms the fine payment issue. git checkout bug_19771 restart_all -- it should all come up. --- offline_circ/list.pl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) --- a/offline_circ/list.pl +++ a/offline_circ/list.pl @@ -46,10 +46,12 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ my $operations = GetOfflineOperations; for (@$operations) { - my $item = Koha::Items->find({ barcode => $_->{barcode} }); - my $biblio = $item->biblio; - $_->{'bibliotitle'} = $biblio->title; - $_->{'biblionumber'} = $biblio->biblionumber; + my $item = $_->{barcode} ? Koha::Items->find({ barcode => $_->{barcode} }) : undef; + if ($item) { + my $biblio = $item->biblio; + $_->{'bibliotitle'} = $biblio->title; + $_->{'biblionumber'} = $biblio->biblionumber; + } my $patron = $_->{cardnumber} ? Koha::Patrons->find( { cardnumber => $_->{cardnumber} } ) : undef; if ($patron) { $_->{'borrowernumber'} = $patron->borrowernumber; --