To reproduce: 1) Go to acquisitions 2) Go to a vendor 3) Create a new basket and click save 4) See warn in intranet error log: basket.pl: Argument "" isn't numeric in numeric le (<=) at /home/vagrant/kohaclone/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt line 207.
Created attachment 46407 [details] [review] Bug 15519: Warns when creating a basket To test: 1) Reproduce warn following steps above 2) Apply patch 3) Create a new basket and click Save. Do not add any items 4) Notice warn is gone 5) Click 'Delete this basket' and confirm that the validation message reads: "Are you sure you want to delete this basket?" Click cancel. 6) Add an order to the basket, then click 'Delete this basket'. Confirm the validation message gives more information and more delete options.
Created attachment 46431 [details] [review] Bug 15519: Warns when creating a basket To test: 1) Reproduce warn following steps above 2) Apply patch 3) Create a new basket and click Save. Do not add any items 4) Notice warn is gone 5) Click 'Delete this basket' and confirm that the validation message reads: "Are you sure you want to delete this basket?" Click cancel. 6) Add an order to the basket, then click 'Delete this basket'. Confirm the validation message gives more information and more delete options. Followed test plan, works as expected. Signed-off-by: Marc Véron <veron@veron.ch>
Created attachment 46488 [details] [review] Bug 15519: Warns when creating a basket To test: 1) Reproduce warn following steps above 2) Apply patch 3) Create a new basket and click Save. Do not add any items 4) Notice warn is gone 5) Click 'Delete this basket' and confirm that the validation message reads: "Are you sure you want to delete this basket?" Click cancel. 6) Add an order to the basket, then click 'Delete this basket'. Confirm the validation message gives more information and more delete options. Followed test plan, works as expected. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15548