[Koha-bugs] [Bug 12508] The removal of a contract which is linked to a basket does not display an error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 1 10:05:29 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12508

--- Comment #1 from Yohann Dufour <yohann.dufour at biblibre.com> ---
Created attachment 29392
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29392&action=edit
Bug 12508: adding an error message if a contract cannot be removed

If a contract cannot be removed, no errors is displayed. Now, it displays an
dialog messag error and the list of contracts.

Test plan:
1) Log on with a superlibrarian permission
2) Go on the page acqui/supplier.pl (Acquisitions > Button "New vendor")
3) Record a vendor with a nonzero "name"
4) Go on the page admin/aqcontract.pl (click on the "Contracts" item in the
menu)
5) Click on the button "New" > "Contract" and record a new one
6) Click on "New" > "Basket" and record a basket by selectioning the created
contract
7) Click on the contract name, then click on the "Contracts" item in the left
menu
8) Try to delete this contract, an error is displayed : "Contract has not been
deleted. Maybe a basket linked to this contract exists."
9) Delete the basket linked to the contract
10) Delete the contract, no errors is displayed

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list