Bug 13026 - permanent location becomes CART.
Summary: permanent location becomes CART.
Status: RESOLVED DUPLICATE of bug 14811
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low major (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-06 07:23 UTC by Olli-Antti Kivilahti
Modified: 2015-09-14 15:03 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

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