Koha/serials
Jonathan Druart c52e15689f
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@myacpl.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-03-27 12:14:09 +00:00
..
acqui-search-result.pl Bug 20015: use Modern::Perl in Serials perl script 2018-02-05 09:46:45 -03:00
acqui-search.pl Bug 20015: use Modern::Perl in Serials perl script 2018-02-05 09:46:45 -03:00
add_user_search.pl
checkexpiration.pl Bug 20015: use Modern::Perl in Serials perl script 2018-02-05 09:46:45 -03:00
claims.pl Bug 15774: Use Koha::Object(s) for additional fields 2019-03-07 20:37:05 +00:00
create-numberpattern.pl
lateissues-export.pl Bug 18536: [QA Follow-up] Tiny regex simplification 2017-05-19 10:41:39 -04:00
reorder_members.pl Bug 20015: use Modern::Perl in Serials perl script 2018-02-05 09:46:45 -03:00
routing-preview.pl Bug 14711: Change prototype for AddReserve - pass a hashref 2020-02-11 14:32:47 +00:00
routing.pl Bug 20351: Shortcut serials scripts if a blocking error appeared 2018-10-17 14:25:30 +00:00
serials-collection.pl Bug 17674: Handling of special cases 2020-03-19 09:31:02 +00:00
serials-edit.pl Bug 23463: Replace ModItem with Koha::Item->store 2020-03-23 09:26:30 +00:00
serials-home.pl
serials-search.pl Bug 15774: (follow-up) fix rebase issues 2019-03-07 20:37:06 +00:00
showpredictionpattern.pl Bug 15149: Serial test prediction pattern does not consider end date 2019-02-26 13:10:34 +00:00
subscription-add.pl Bug 23888: Do not allow invalid vendor id on creating a subscription 2020-03-27 12:14:09 +00:00
subscription-batchedit.pl Bug 15774: Use Koha::Object(s) for additional fields 2019-03-07 20:37:05 +00:00
subscription-bib-search.pl Bug 24735: Remove QueryParser-related code 2020-03-02 11:13:03 +00:00
subscription-detail.pl Bug 15774: Use the include file to display the subscription's additional fields 2019-03-07 20:37:06 +00:00
subscription-frequencies.pl
subscription-frequency.pl
subscription-history.pl Bug 18260: Koha::Biblio - Remove GetBiblio 2017-07-10 13:03:38 -03:00
subscription-numberpattern.pl
subscription-numberpatterns.pl
subscription-renew.pl Bug 7047: Change ReNewSubscription prototype - use hashref 2019-12-23 12:06:45 +00:00
viewalerts.pl Bug 19855: Move getalert, addalert and delalert to Koha::Subscription 2018-04-23 14:22:15 -03:00