Bug 10062

Summary: Attached item from a deleted record
Product: Koha Reporter: shalomchong
Component: CatalogingAssignee: Galen Charlton <gmcharlt>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P5 - low CC: m.de.rooy
Version: Main   
Hardware: PC   
OS: Windows   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: This is the search i run on Google Chrome

Description shalomchong 2013-04-16 02:58:18 UTC
Created attachment 17482 [details]
This is the search i run on Google Chrome

I've attached items from a deleted record (without knowing it's from a deleted record), and now I'm stuck.
When I run a search on the item barcode, the result page gave me two biblios:
1. The new biblio this item "newly attached"
2. The old biblio which was deleted (why it still appeared in the search result? is it because there are still item attached to it? Shouldn't the system stop or warn librarian from deleting a biblio with items attached?)

According to the search result, the first biblio has ten item attached (with 6 attached from the old deleted biblio). however, if I goes to the record detail page, only four items was shown in the normal view, edit item page. 

I get the same result either using IE or Google Chrome.

There is no way for me to restore the deleted biblio or delete these attached items from the new biblio now :(
Comment 1 Katrin Fischer 2013-04-16 05:56:53 UTC
Hi,
this sounds to my, like your Zebra index might be out of sync. Have you set up the cronjobs to update the search indexes regularly? This would prevent the deleted record from showing up in your result list. Also the item numbers in the result list are probably wrong because of that. Could you try reindexing your data?
Comment 2 shalomchong 2013-04-16 08:49:47 UTC
i'm not sure. becuase other records, which deleted after this record, disappeared accordingly and don't appear in my search result.
Comment 3 Katrin Fischer 2013-04-16 09:23:35 UTC
I can't tell you exactly what went wrong, but I think it would probably help to do a complete index with the -r option.
Comment 4 shalomchong 2013-05-28 07:28:21 UTC
The record disappeared after the re-indexing.
Thanks!