[Koha-bugs] [Bug 13540] Item's permanent_location is set to CART|PROC if an Item is edited when it's location is CART|PROC.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 17 10:04:08 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13540

Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #35336|0                           |1
        is obsolete|                            |

--- Comment #24 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 40214
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40214&action=edit
Bug 13540 - Item's permanent_location is set to CART|PROC if an Item is edited
when it's location is CART|PROC.

This bug is rather nasty as it happens very discreetly when editing Items that
are
in either locations 'CART' or 'PROC'.
For example when changing one of the Item's statuses or barcode, the
permanent_location
gets overwritten without the user noticing it immediately. The damage becomes
apparent
only weeks later when there are potentially thousands of Items missing the
permanent_location and location.

:-:TEST SETUP:-:
0a. System preference "ReturnToShelvingCart" must be 'Move'.
0b. Find any Item (I69)
0c. Set I69's location to "Book Cart" (BC) or anything but empty.

:-:REPLICATE ISSUE:-:
1. Check-in the I69 and the location should turn to 'CART' (returned today).
2. Go to the "Edit Item"-view for I69, don't change anything, simply click
   "Save changes"
3. Observe that the permanent_location has changed to 'CART'.
   This is not good since now the location data is forever lost again (Bugg
7817).
   The "cart_to_shelf.pl --hours 24"-script cannot return the Item to the
proper
   place ;(

:-:AFTER THIS PATCH:-:
Repeat steps 1-2.
3. Observe that the permanent_location is still the old one, instead of getting
   overwritten by 'CART'.

Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
Signed-off-by: Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi>
 Working in prod for ~6 months.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list