[Koha-bugs] [Bug 24772] Deactivating course reserves before deleting the same course empties course reserve values in the items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 1 16:29:37 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24772

ByWater Sandboxes <bws.sandboxes at gmail.com> changed:

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

--- Comment #21 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 104106
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=104106&action=edit
Bug 24772: Don't revert course item fields when deleting a course item unless
it is enabled

Deactivating a from Course Reserves reverts Item's Shelving Location
correctly, then deleting the same course reverts the Course Reserve
Items to old shelving location values.

Test Plan:
1) Add items to a Course - make sure they all have shelving locations
prior to being added to the course.
2) When adding items change their shelving location to something else.
   See that Shelving Location has changed; permanent location in
parentheses
3) Deactivated course
   See that Shelving Location has changed back to its original location
4) Deleted course
   See that Shelving Location has changed back to what was picked during
adding it to the Course.
5) Apply this patch, restart all the things!
6) Repeat steps 1-4, note the shelvig location is not lost!

Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>

Signed-off-by: Hannah Olsen <holsen at duncanville.com>

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


More information about the Koha-bugs mailing list