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

--- Comment #5 from Baptiste Wojtkowski (bwoj) 
<[email protected]> ---
Created attachment 190757
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190757&action=edit
Bug 37569: Fix the way serials are returned

Serials cannot be edited if there is no history associated to the serial.
Fetching a subscription matching a given serialnumber results in an hashref
containing two fields named serial number. One of them is undef and is used by
the form and is therefore not submitted at the end.

This is not supposed to happen since creating an exemplary automatically
creates a new exemplary, but if serials are created through DB, they are not
editable.

Test plan:
1 - Create a serial
2 - In the database remove there history associated with the serial
3 - Try and edit serial, at the end of the form, it will result in
  "serial not found"
4 - Apply patch
5 - Redo 3 and notice it now works

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to