Bug 17410

Summary: Export default Framework gives always empty file
Product: Koha Reporter: Hugo Agud <hagud>
Component: CatalogingAssignee: Galen Charlton <gmcharlt>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: katrin.fischer, m.de.rooy, mtompset, veron
Version: 16.05   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15057
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16035
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Hugo Agud 2016-10-06 09:59:39 UTC
In koha 16.05.04 when tries to export the default framework, generates an emtpy file even choosing any format.

In plack-error.log 

Use of uninitialized value $mode in string eq at /usr/share/koha/lib/C4/ImportExportFramework.pm line 212.
Use of uninitialized value $mode in string eq at /usr/share/koha/lib/C4/ImportExportFramework.pm line 212.
Use of uninitialized value $mode in string eq at /usr/share/koha/lib/C4/ImportExportFramework.pm line 232.
Use of uninitialized value $mode in string eq at /usr/share/koha/lib/C4/ImportExportFramework.pm line 232.
Use of uninitialized value $mode in string eq at /usr/share/koha/lib/C4/ImportExportFramework.pm line 249.
Use of uninitialized value $mode in string eq at /usr/share/koha/lib/C4/ImportExportFramework.pm line 251.
Use of uninitialized value $format in string eq at /usr/share/koha/intranet/cgi-bin/admin/import_export_framework.pl line 58.
Use of uninitialized value $format in string eq at /usr/share/koha/intranet/cgi-bin/admin/import_export_framework.pl line 65.

There is no problem when exporting any other framework

TEsted in Koha 16.05.04 on Debian 8 with plack enabled
Comment 1 Mark Tompsett 2017-02-19 00:14:38 UTC
I believe this was solved in 16.05.05 in bug 16035. If not, bug 17389.

*** This bug has been marked as a duplicate of bug 17389 ***