[Bug 8932] New: can't delete order
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8932 Priority: P5 - low Change sponsored?: --- Bug ID: 8932 Assignee: koha-bugs@lists.koha-community.org Summary: can't delete order Severity: critical Classification: Unclassified OS: All Reporter: nengard@gmail.com URL: /cgi-bin/koha/acqui/parcel.pl?invoiceid=1 Hardware: All Status: NEW Version: rel_3_10 Component: Acquisitions Product: Koha In acquisitions when I try to 'Delete order and catalog record' I get the following: Software error: Can't call method "as_usmarc" on an undefined value at /home/nengard/kohaclone/C4/Items.pm line 621. For help, please send mail to the webmaster (webmaster@debian), giving this error message and the time and date of the error. The same thing happens if I just click 'Delete order' -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8932 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paul.poulain@biblibre.com --- Comment #1 from Paul Poulain <paul.poulain@biblibre.com> --- Trying to reproduce the problem, I don't have it, it work for me. looking at line 621, it contains: $copy2deleted->execute( $record->as_usmarc(), $itemnumber ); $record is retrieved a few lines before: my $record = GetMarcBiblio($biblionumber); was your record here when you clicked on "Delete order and catalog record" ? If it wasn't, I think that's the explanation for the bug. (and the fix should be easy) -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8932 --- Comment #2 from Nicole C. Engard <nengard@gmail.com> --- I'm not sure where 'here' is. You asked 'was your record here when...' -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8932 --- Comment #3 from Paul Poulain <paul.poulain@biblibre.com> --- (In reply to comment #2)
I'm not sure where 'here' is. You asked 'was your record here when...' do you imply my english is poor ? ;-)
my question was: are you sure the bibliographic record attached to your order was still existing ? because ->as_usmarc is failing when $record is not a MARC::Record And it's not a MARC::Record if GetMarcBiblio could not find it HTH -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8932 --- Comment #4 from Nicole C. Engard <nengard@gmail.com> --- (In reply to comment #3)
(In reply to comment #2)
I'm not sure where 'here' is. You asked 'was your record here when...' do you imply my english is poor ? ;-)
I imply no such thing! :) Just that you needed to be more thorough :)
my question was: are you sure the bibliographic record attached to your order was still existing ? because ->as_usmarc is failing when $record is not a MARC::Record And it's not a MARC::Record if GetMarcBiblio could not find it
Let me try it again and get back to you. Nicole -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8932 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #5 from Nicole C. Engard <nengard@gmail.com> --- Okay, I tested and was able to delete - so I have no idea what version I was in when this happened - but let's say it's invalid. Nicole -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org