Bug 6266 - Ordering from staged file gives perl error when no budget defined
Summary: Ordering from staged file gives perl error when no budget defined
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Bugs List
URL: /cgi-bin/koha/acqui/addorderiso2709.p...
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-25 20:44 UTC by Katrin Fischer
Modified: 2015-12-03 22:00 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2011-04-25 20:44:58 UTC
When you try to order from a staged marc file and no budgets and funds are definded you get an ugly perl error: 

Software error:

Can't use an undefined value as a HASH reference at /home/katrin/kohaclone/acqui/addorderiso2709.pl line 260.

For help, please send mail to the webmaster (webmaster@wombat), giving this error message and the time and date of the error.
Comment 1 Jonathan Druart 2015-03-25 12:56:06 UTC
This is fixed, you get 
"You can't create any orders unless you first define a budget and a fund." when you try to add something to the basket.

Note that you still get the error if you access directly to the url.