Bug 5061 - create order without budget results in perl error message
Summary: create order without budget results in perl error message
Status: CLOSED DUPLICATE of bug 5072
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: rel_3_2
Hardware: All All
: P5 - low minor (vote)
Assignee: Henri-Damien LAURENT
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-26 13:37 UTC by Katrin Fischer
Modified: 2012-10-26 00:41 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
screenshot of error message (7.37 KB, image/png)
2010-07-26 13:37 UTC, Katrin Fischer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2010-07-26 13:37:06 UTC
Created attachment 2423 [details]
screenshot of error message

AcqCreateItem : Create item when placing an order.
Koha version: 	3.01.00.145

If you add an order without adding funds and budgets first, you get a perl error message when you try to safe your order.

The form should check if a budget was chosen and show a nice error message.

I was not sure if this bug is perhaps related to bug 3616.
Comment 1 Colin Campbell 2010-07-26 14:44:40 UTC
The bug is related to 3616 but needs a separate fix. In Acquisitions.pm the error message is issued via a die. die is not a user friendly way to handle error conditions.
Comment 2 Katrin Fischer 2010-07-29 05:16:54 UTC
For 5072 a patch was sent, marking this bug as duplicate.

*** This bug has been marked as a duplicate of bug 5072 ***