[Koha-bugs] [Bug 15030] Certain values in serials' items are lost on next edit

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 5 14:44:57 CEST 2016


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

Nick Clemens <nick at bywatersolutions.com> changed:

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

--- Comment #17 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 49908
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=49908&action=edit
Bug 15030 - Certain values in serials' items are lost on next edit

When editing serials subscription, we can edit them but some values are not
pulled from the DB correctly to be put in the edit box.  If not noticed, the
value will be overwritten on the next save.

Test:
- Create a subscription
- Edit itemcallnumber (952o?) and make sure to have a different value than the
default one.
- Save.
- Edit it again
- The saved value is not there.

This is true for itemcallnumber and a few other fields.

This was caused by calls to ->field($subfield).  This would always fail, of
course.

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

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


More information about the Koha-bugs mailing list