Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Aleisha Amohia 4c5f495f0e Bug 17208: Checking if classification source or filing rule already exists before adding
To test:
1) Go to Admin -> Classification sources
2) Attempt to reproduce bug before applying patch. Notice the message
saying the add was successful, but was not added to the table
3) Apply patch and refresh page (restart plack if necessary)
4) Add new classification source with same code as existing one. Notice
you are now told that the add failed.
5) Confirm adding new classification source with unique code works
6) Add new classification filing rule with same code as existing one.
Notice you are told that add failed.
7) Confirm adding new classification filing rule with unique code works

Sponsored-by: Catalyst IT

Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
This is not the way to go, we should use an eval instead.
But since we do not have RaiseError set, it will not work.
This module will need to be moved to Koha::Objects to be implemented
correctly.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-12-23 11:33:48 +00:00
..
preferences Bug 14541 (QA followup) Add warning to gist system preference 2016-12-09 16:29:33 +00:00
searchengine/elasticsearch Bug 17609: Tiny typo in ElasticSearch mappings (mappings.tt) 2016-11-22 17:44:25 +00:00
admin-home.tt Bug 14899: Add a link to the new page in the admin 2016-10-11 05:22:00 +00:00
aqbudgetperiods.tt Bug 16005 - Standardize use of icons for delete and cancel operations 2016-06-03 08:21:25 +00:00
aqbudgets.tt Bug 15803: Koha::AuthorisedValues - Remove C4::Koha::GetAuthorisedValueCategories 2016-10-28 16:35:52 +00:00
aqcontract.tt Bug 16511: Making contracts actions buttons 2016-05-31 11:51:02 +00:00
aqplan.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
audio_alerts.tt Bug 16310 - Remove the use of "onclick" from audio alerts template 2016-08-01 14:35:27 +00:00
auth_subfields_structure.tt Bug 16366 - Remove obsolete "border" attribute from <img> tags 2016-04-29 16:13:55 +00:00
auth_tag_structure.tt Bug 17582: Fix authority framework edition 2016-11-14 11:24:23 +00:00
authorised_values.tt Bug 17216: Update the admin interface 2016-10-11 07:30:30 +00:00
authtypes.tt Bug 17011 - Remove "onblur" event attribute from some templates 2016-09-09 12:55:41 +00:00
biblio_framework.tt Bug 17011 - Remove "onblur" event attribute from some templates 2016-09-09 12:55:41 +00:00
branch_transfer_limits.tt Bug 15758: Koha::Libraries - Remove GetBranches 2016-09-08 14:36:03 +00:00
branches.tt Bug 16532: Groups showing empty tables if no groups defined 2016-05-31 09:04:09 +00:00
categories.tt Bug 6906 - show 'Borrower has previously issued... 2016-07-08 13:40:08 +00:00
checkmarc.tt
cities.tt Bug 16541 - Make edit and delete links styled buttons in cities administration 2016-06-17 15:42:14 +00:00
classsources.tt Bug 17208: Checking if classification source or filing rule already exists before adding 2016-12-23 11:33:48 +00:00
clone-rules.tt Bug 15758: Koha::Libraries - Remove GetBranchesLoop 2016-09-08 14:36:02 +00:00
columns_settings.tt Bug 15361: Translatability: Fix issue on Administration Columns settings 2015-12-29 20:28:04 +00:00
currency.tt Bug 17011 - Remove "onblur" event attribute from some templates 2016-09-09 12:55:41 +00:00
didyoumean.tt Bug 17012 - Remove more event attributes from administration templates 2016-09-09 13:29:52 +00:00
edi_accounts.tt Bug 17149 - EDI accounts: Add missing '>' to breadcrumb 2016-09-02 15:54:41 +00:00
edi_ean_accounts.tt Bug 16256 - Can't edit library EAN if you leave EAN empty 2016-04-20 16:52:17 +00:00
fieldmapping.tt Bug 16792: Add Font Awesome Icon and mini button to Keyword to MARC mapping section 2016-11-04 11:11:23 +00:00
item_circulation_alerts.tt Bug 15758: Koha::Libraries - Remove GetBranches 2016-09-08 14:36:03 +00:00
items_search_field.tt Bug 15803: Koha::AuthorisedValues - Remove C4::Koha::GetAuthorisedValueCategories 2016-10-28 16:35:52 +00:00
items_search_fields.tt Bug 15803: Koha::AuthorisedValues - Remove C4::Koha::GetAuthorisedValueCategories 2016-10-28 16:35:52 +00:00
itemtypes.tt Bug 17657: Fix locations of item types images 2016-11-18 14:06:33 +00:00
koha2marclinks.tt Bug 16081: Making Koha to MARC mapping actions buttons 2016-03-23 01:02:56 +00:00
localization.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
marc_subfields_structure.tt Bug 17660: #adv is considered as an ad by adblock 2016-11-21 16:29:56 +00:00
marctagstructure.tt Bug 15803: Koha::AuthorisedValues - Remove C4::Koha::GetAuthorisedValueCategories 2016-10-28 16:35:52 +00:00
matching-rules.tt Bug 17318: Allow chosing fixed normalization routines 2016-10-21 16:16:34 +00:00
oai_set_mappings.tt Bug 16045 - Use Font Awesome icons in OAI sets administration 2016-03-12 23:44:52 +00:00
oai_sets.tt Bug 16297 - Remove the use of "onclick" from OAI sets configuration template 2016-04-29 15:30:34 +00:00
patron-attr-types.tt Bug 15803: Koha::AuthorisedValues - Remove C4::Koha::GetAuthorisedValueCategories 2016-10-28 16:35:52 +00:00
preferences.tt Bug 17012 - Remove more event attributes from administration templates 2016-09-09 13:29:52 +00:00
printers.tt
smart-rules.tt Bug 15581: Add a circ rule to limit the auto renewals given a delay 2016-11-02 10:28:57 +00:00
sms_providers.tt Bug 17012 - Remove more event attributes from administration templates 2016-09-09 13:29:52 +00:00
sru_modmapping.tt Bug 16308 - Remove the use of "onclick" from Z39.50/SRU servers template 2016-04-29 15:46:49 +00:00
systempreferences.tt Bug 16383: Making Local Use sysprefs actions buttons 2016-05-04 13:32:01 +00:00
transport-cost-matrix.tt Bug 17012 - Remove more event attributes from administration templates 2016-09-09 13:29:52 +00:00
z3950servers.tt Bug 16005 - Standardize use of icons for delete and cancel operations 2016-06-03 08:21:25 +00:00