[Koha-bugs] [Bug 9231] Batch revert staged MARC records fails if one or more records in a batch have been deleted.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 6 17:22:55 CET 2012


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P5 - low                    |P3
           Severity|enhancement                 |normal

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
It appears that if a record in an imported batch is deleted, any attempt to
revert the batch will result in the progress bar just sitting at '0%' forever.
The background job fails when it hits the already deleted record, with the
error occurring in C4::Items::DelItem for the line

$copy2deleted->execute( $record->as_usmarc(), $itemnumber );

which fails because $record is undefined.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list