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

            Bug ID: 41815
           Summary: addorderiso fills a budget silently
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Acquisitions
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

In Bug 41070, I fixed an issue in the js form of acquisitions. The bug allows
to submit an invalid form.

However in ./acqui/addorderiso2709.pl, there is a default behaviour that looks
absurd to me, Koha should internal server error here, shouldn't it ?

> 179     if ( scalar @$budgets == 0 ) {
> 180         die "No budgets defined, can't continue";
> 181     }
> 182     my $budget_id = @$budgets[0]->{'budget_id'};
> 183

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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