Bug 6207

Summary: Can't delete item
Product: Koha Reporter: Magnus Enger <magnus>
Component: CatalogingAssignee: Galen Charlton <gmcharlt>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: major    
Priority: PATCH-Sent (DO NOT USE) CC: chris, koha.sekjal
Version: 3.4   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on:    
Bug Blocks: 5917    

Description Magnus Enger 2011-04-19 12:07:51 UTC
When editing items (e.g. http://head.bibkat.no:8080/cgi-bin/koha/cataloguing/additem.pl?biblionumber=18) clicking on the "Delete" link on the left side of the items table gives this error: 

Can't call method "fields" on an undefined value at /home/magnus/kohahead/C4/Biblio.pm line 2097.

This is because the biblionumber is missing from the link: 

http://head.bibkat.no:8080/cgi-bin/koha/cataloguing/additem.pl?op=delitem&biblionumber=&itemnumber=4

Clicking on a row to get the little inline menu and then clicking "Delete" there works fine.
Comment 1 Chris Cormack 2011-04-19 18:46:05 UTC
Pushed please test
Comment 2 Magnus Enger 2011-05-16 09:30:28 UTC
Clicking the "Delete" link on the left side of the items table works fine in current master.