Summary: | can't delete order | ||
---|---|---|---|
Product: | Koha | Reporter: | Nicole C. Engard <nengard> |
Component: | Acquisitions | Assignee: | Bugs List <koha-bugs> |
Status: | CLOSED INVALID | QA Contact: | |
Severity: | critical | ||
Priority: | P5 - low | CC: | paul.poulain |
Version: | 3.10 | ||
Hardware: | All | ||
OS: | All | ||
URL: | /cgi-bin/koha/acqui/parcel.pl?invoiceid=1 | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
Description
Nicole C. Engard
2012-10-16 17:48:44 UTC
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) I'm not sure where 'here' is. You asked 'was your record here when...' (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 (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 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 |