]> git.koha-community.org Git - koha.git/commit
Bug 23319: Implement blocking errors for neworderbiblio and basket.pl
authorNick Clemens <nick@bywatersolutions.com>
Mon, 15 Jul 2019 17:46:36 +0000 (17:46 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 2 Sep 2019 12:18:13 +0000 (14:18 +0200)
commit994c93fab71ae1f6640cf12c6cecafc58ffa105d
tree0c752cb8f87e617ad27b4aef502cc43fa66f2395
parenteec9d8becfb109add527a421738c087d2ed8f880
Bug 23319: Implement blocking errors for neworderbiblio and basket.pl

To test:
1 - Hit neworderbiblio with a query and no vendor
    http://localhost:8081/cgi-bin/koha/acqui/neworderbiblio.pl?q=cat
    Or, add to basket from existing record with a search
    Refresh the page (url has no parameters)
2 - Get an internal server error
3 - Add bookseller
    http://localhost:8081/cgi-bin/koha/acqui/neworderbiblio.pl?q=cat&booksellerid=1
4 - Click 'Order' on a result
5 - Internal server error
6 - Apply patch
7 - Repeat 1-4, you get 'Vendor not found' or 'Basket not found'

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 2782a039aa7883107c74ab6e446aa51b9f555683)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
acqui/neworderbiblio.pl
acqui/neworderempty.pl
koha-tmpl/intranet-tmpl/prog/en/includes/blocking_errors.inc
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt