Bug 13026

Summary: permanent location becomes CART.
Product: Koha Reporter: Olli-Antti Kivilahti <olli-antti.kivilahti>
Component: CatalogingAssignee: Galen Charlton <gmcharlt>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: jonathan.druart, m.de.rooy, tmisilo
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7817
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7634
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Olli-Antti Kivilahti 2014-10-06 07:23:43 UTC
Just noticed we have ~1500 items with items.location == CART and items.permanent_location == CART. No idea how to replicate this issue. Probably related to Bug 7817.

This leads to loss of location data for Items.
Comment 1 Jonathan Druart 2015-09-02 14:04:26 UTC
Any idea how this could happen?
Comment 2 Olli-Antti Kivilahti 2015-09-03 07:32:31 UTC
This was fixed by Bug 7817.

permanent_location was set when the Item was created, but it was lost when the Item was under the influence of cart_to_shelf.pl-cronjob and manually edited, before the cronjob updated the location to the original location. :)

Because we have a custom call number prefix mapping feature, we managed to rebuild the correct locations based on the call number prefix,
eg:
Prefix => Branch, location
PKA => CPL, Bookshelf
PKL => CPL, Serials shelf
PKM => CPL, Musics shelf

Other cart_to_shelf.pl-users might not have been so lucky.
I think we have had over 3000 Items lose their shelving locations due to this bug, but luckily all automatically corrected.
Comment 3 Jonathan Druart 2015-09-14 15:03:03 UTC

*** This bug has been marked as a duplicate of bug 14811 ***