Bug 5061

Summary: create order without budget results in perl error message
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: AcquisitionsAssignee: Henri-Damien LAURENT <henridamien>
Status: CLOSED DUPLICATE QA Contact: Bugs List <koha-bugs>
Severity: minor    
Priority: P5 - low CC: colin.campbell
Version: rel_3_2   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: screenshot of error message

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 ***