Summary: | Deleted biblios cause rebuild_zebra to fail | ||
---|---|---|---|
Product: | Koha | Reporter: | Jesse Weaver <pianohacker> |
Component: | Architecture, internals, and plumbing | Assignee: | Jesse Weaver <pianohacker> |
Status: | CLOSED FIXED | QA Contact: | Bugs List <koha-bugs> |
Severity: | critical | ||
Priority: | PATCH-Sent (DO NOT USE) | CC: | bob-ewart, chobbs, chris, dev_patches, koha.sekjal, mjr |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: | http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9243 | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 6492 - Deleted biblios cause rebuild_zebra to fail
[SIGNED-OFF] Bug 6492 - Deleted biblios cause rebuild_zebra to fail |
Description
Jesse Weaver
2011-06-09 21:48:15 UTC
Created attachment 4442 [details] [review] Bug 6492 - Deleted biblios cause rebuild_zebra to fail This both adds a bit of a failsafe to get_raw_biblio, and prevents records that have been deleted from being updated by the same instance of rebuild_zebra. Looks like this is a duplicate of 6384. Also a duplicate of 5724. Apologies, was in a hurry when filing the bug. Anyway, 5724 and this bug both have patches that solve the same problem. Which patch should we go with, and what bug should be the master one? Personnaly, I think that we should stick to bug 5724 solution. Because it appears to me that the rebuild_zebra, with your patch would not export any marc record for deleted_biblios since it won't take them from the deletedbiblioitems table. So if you would solve the problem of the warning, you would not solve the problem that entries in zebra are not deleted.... And you would need a rebuild_zebra -b -r Which on big database is a bit harmful. Marking this bug as critical, since it prevents any newly added items or titles from showing up in the catalog, and those are often some of the most important things to patrons. The fix for 5724 is dependent on 5725, which is a big bit of work. I'd like to decouple the fixing of this issue from the implementation of batch biblio modification, since this issue is critical, and batch biblio mod is an enhancement (though, yes, a very important one)... N *** Bug 6384 has been marked as a duplicate of this bug. *** Created attachment 4491 [details] [review] [SIGNED-OFF] Bug 6492 - Deleted biblios cause rebuild_zebra to fail This both adds a bit of a failsafe to get_raw_biblio, and prevents records that have been deleted from being updated by the same instance of rebuild_zebra. Minor amendment to remove duplication of 6433 Signed-off-by: MJ Ray <mjr@phonecoop.coop> Pushed, please test I tested it on 3.05.00.004 as downloaded today, 2011-07-05, via git. It works! Thanks very much for testing Bob :) |