[Koha-bugs] [Bug 23888] Incorrect vendor id in subscription creation causes internal server error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 14 16:36:43 CET 2020


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

--- Comment #10 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 98963
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98963&action=edit
Bug 23888: Do not allow invalid vendor id on creating a subscription

It will avoid crash and invalid data when creating/updating a
subscription.

This could have been done with a AJAX query but seems more convenient
this way.

Test plan:
- Create or update a subscription
- In the "Vendor" input try an empty string, a valid vendor's id, and
invalid one.
=> With an empty string you get the existing alert message
=> With a valid id you do not get any messages
=> With an invalid id you are not allowed to go to page 2

Signed-off-by: Owen Leonard <oleonard at myacpl.org>

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


More information about the Koha-bugs mailing list