Koha-clms/admin
Jonathan Druart 6a6a6e40c3 Bug 13074: Use Koha::Cache to cache the defaults values of a MARC record
With the global %default_values_for_mod_from_marc variable, the changes
made to the marc_subfield_structure table and especially the links
between MARC and DB fields are not safe and might be outdated (if a
field is linked/unlinked)

Test plan:
Under Plack:
- Link the barcode field, edit a record and set a barcode.
- Remove the mapping for the barcode field and then update again the
  barcode of the record.
The items.barcode DB field must not have been updated.

Without this patch, the field should have been updated.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 8c14c25521)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit a50e5f141b)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
2016-07-01 08:34:12 +02:00
..
add_user_search.pl Bug 15109: Make name the default sort order for all patron searches 2015-11-17 09:49:21 -03:00
admin-home.pl Bug 9978: (followup) Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:43 -03:00
aqbudgetperiods.pl Bug 16154: Fix some other occurrences 2016-05-16 14:43:23 +02:00
aqbudgets.pl Bug 16154: CGI->multi_param - Force scalar context 2016-05-16 14:42:43 +02:00
aqcontract.pl Bug 16154: Fix some other occurrences 2016-05-16 14:43:23 +02:00
aqplan.pl Bug 16154: CGI->multi_param - Declare a list 2016-05-16 14:38:51 +02:00
audio_alerts.pl Bug 16154: CGI->multi_param - Declare a list 2016-05-16 14:38:51 +02:00
auth_subfields_structure.pl Bug 16154: CGI->multi_param - Declare a list 2016-05-16 14:38:51 +02:00
auth_tag_structure.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
authorised_values.pl Bug 16154: Fix some other occurrences 2016-05-16 14:43:23 +02:00
authtypes.pl Bug 10947: Fix editing the default authority type 2015-05-19 09:25:59 -03:00
biblio_framework.pl Bug 13074: Use Koha::Cache to cache the defaults values of a MARC record 2016-07-01 08:34:12 +02:00
branch_transfer_limits.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
branches.pl Bug 8802: On editing a library group category type is not set 2015-06-23 10:14:13 -03:00
categorie.pl Bug 16154: Fix some other occurrences 2016-05-16 14:43:23 +02:00
check_budget_parent.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
check_parent_total.pl Bug 14383: admin: Fix some typos in comments and documentation 2015-06-22 17:34:46 -03:00
checkmarc.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
cities.pl Bug 14888: Update copyright and wording 2015-10-05 12:00:38 -03:00
classsources.pl Bug 16013: Make classification sources deletable 2016-03-23 09:00:27 +01:00
clone-rules.pl Bug 9978: (followup) Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:43 -03:00
columns_settings.pl Bug 16154: CGI->multi_param - Declare a list 2016-05-16 14:38:51 +02:00
columns_settings.yml Bug 14841: Fine column is not manage by columns settings 2015-10-13 11:38:23 -03:00
currency.pl Bug 15962: Block the currency deletion if used 2016-04-14 14:40:19 +02:00
didyoumean.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
env_tz_test.pl Bug 14383: admin: Fix some typos in comments and documentation 2015-06-22 17:34:46 -03:00
fieldmapping.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
import_export_framework.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
item_circulation_alerts.pl Bug 9978: (followup) Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:43 -03:00
items_search_field.pl Bug 11425: Add item search form in staff interface 2014-11-04 19:08:12 -03:00
items_search_fields.pl Bug 11425: Add item search form in staff interface 2014-11-04 19:08:12 -03:00
itemtypes.pl Bug 15306: Do not display the translate link if only 1 language is installed 2016-03-07 09:42:32 +01:00
koha2marclinks.pl Bug 15258: Fix Perl scripts declaring unused variables 2015-12-31 14:32:53 +01:00
localization.pl Bug 14100: Generic solution for language overlay - Item types 2015-10-27 12:34:06 -03:00
marc_subfields_structure.pl Bug 13074: Use Koha::Cache to cache the defaults values of a MARC record 2016-07-01 08:34:12 +02:00
marctagstructure.pl Bug 13074: Use Koha::Cache to cache the defaults values of a MARC record 2016-07-01 08:34:12 +02:00
matching-rules.pl Bug 16154: Fix some other occurrences 2016-05-16 14:43:23 +02:00
oai_set_mappings.pl Bug 16154: CGI->multi_param - Declare a list 2016-05-16 14:38:51 +02:00
oai_sets.pl Bug 16154: CGI->multi_param - Declare a list 2016-05-16 14:38:51 +02:00
patron-attr-types.pl Bug 16259: Replace CGI->param with CGI->multi_param in list context - part 2 2016-05-17 07:44:16 +02:00
preferences.pl Bug 11998: Use Koha::Cache to cache sysprefs 2016-03-23 07:41:27 +01:00
printers.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
smart-rules.pl Bug 15757: Make issuelength default to null instead of 0 2016-04-22 13:41:58 +02:00
sru_modmapping.pl Bug 6536: Add a form for SRU Field mapping 2014-09-01 10:08:50 -03:00
stopwords.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
systempreferences.pl Bug 11998: Use Koha::Cache to cache sysprefs 2016-03-23 07:41:27 +01:00
transport-cost-matrix.pl Bug 15258: Fix Perl scripts declaring unused variables 2015-12-31 14:32:53 +01:00
z3950servers.pl Bug 16154: CGI->multi_param - Force scalar context 2016-05-16 14:42:43 +02:00