Koha-clms/admin
Julian Maurice 9af21daf52 Bug 16035: MARC default bibliographic framework Export fix
This patch makes sure that, if there is no framework code,
     $frameworkcode is set to 'default'. This fixes the format issue.
     Then, if $frameworkcode = default, an empty string (rather than
     null) is passed to the ExportFramework method, as the framework
     code in the DB for default codes is "".

To test:
1) Go to Admin -> MARC Bibliographic framework
2) Try to export default framework in all formats, notice the file is
only exported as .ods and is an empty file. Notice warns in intranet
error log.
3) Apply patch and refresh page
4) Confirm exporting default framework works in all formats and
spreadsheet has data
5) Notice warns in error log are gone
6) Confirm export still works for other frameworks

Sponsored-by: Catalyst IT

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 705097f938)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 1de610bb63)
Signed-off-by: Julian Maurice <koha@matrix-jessie>
2016-10-24 11:04:39 +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 16612 - Cannot set "Until date" for "Enrollment period" for Patron Categories 2016-08-16 14:30:02 +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 16035: MARC default bibliographic framework Export fix 2016-10-24 11:04:39 +02: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 17281 Warning when saving subfield structure 2016-09-16 11:23:47 +02:00
marctagstructure.pl Bug 17009: Speed up the framework duplication 2016-08-24 12:43:38 +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