Bug 10062 - Attached item from a deleted record
Summary: Attached item from a deleted record
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: PC Windows
: P5 - low enhancement
Assignee: Galen Charlton
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-16 02:58 UTC by shalomchong
Modified: 2014-05-26 21:04 UTC (History)
1 user (show)

See Also:
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 (242.52 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2013-04-16 02:58 UTC, shalomchong
Details

Note You need to log in before you can comment on or make changes to this bug.
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!