[Koha-bugs] [Bug 23083] Course reserve item edit fails if one does not set all values

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 1 11:03:31 CEST 2019


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

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

--- Comment #10 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 91135
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91135&action=edit
Bug 23083: Fix course reserve item editing if one of the value is set to
UNCHANGED

Test plan:
0: Do not apply the patches
1: Create an item with itype, ccode, location, and holding branch set
2: Create a course
3: Add item to course, changing the values for itype, ccode, and location
4: Click Edit for that item on course-details.pl
5: Assign new values for itype, ccode, and location but leave the holding
library dropdown set to LEAVE UNCHANGED
6: Hit Save
7: Back on course-details.pl, observe that the item is still showing the values
set in step 3
8: Apply this patch
9: Repeat 4 to 6
10: Back on course-details.pl, observe that the item is now showing the correct
values
11: Edit the course reserve again, setting new values for itype, ccode, and
location and setting the holding library dropdown to whatever the holding
library for the item is currently
12: hit save
13: On course-details.pl, see that the change actually happened, the item is
now showing the values set in step 9

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list