From: Ivan Kohler Date: Wed, 15 Aug 2012 20:57:33 +0000 (-0700) Subject: add an explicit compile-time dependancy on OLE::Storage_Lite, for large spreadsheets... X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=970b97a1792729bc4a565cf0504c0d288ae89349;p=freeside.git add an explicit compile-time dependancy on OLE::Storage_Lite, for large spreadsheets, rather than popping up an error when you try to generate/download one, RT#18932 --- diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index 334614b95..9d9ab14ce 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -14,6 +14,7 @@ use Business::CreditCard; use HTML::Entities; use Text::CSV_XS; use Spreadsheet::WriteExcel; +use OLE::Storage_Lite; use FS::UI::Web::small_custview qw(small_custview); #less doh use FS::UI::Web; use FS::UI::bytecount qw( display_bytecount ); diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm index 7d81fb64a..78a4b47cc 100644 --- a/FS/FS/Mason.pm +++ b/FS/FS/Mason.pm @@ -91,6 +91,7 @@ if ( -e $addl_handler_use_file ) { use Text::CSV_XS; use Spreadsheet::WriteExcel; use Spreadsheet::WriteExcel::Utility; + use OLE::Storage_Lite; use Excel::Writer::XLSX; use Excel::Writer::XLSX::Utility; @@ -350,7 +351,7 @@ if ( -e $addl_handler_use_file ) { use RT::Interface::Web::Request; - #nother undeclared web UI dep (for ticket links graph) + #another undeclared web UI dep (for ticket links graph) use IPC::Run::SafeHandles; #slow, unreliable, segfaults and is optional diff --git a/rt/share/html/Search/Results.xls b/rt/share/html/Search/Results.xls index 52a05daed..8b94e22ba 100644 --- a/rt/share/html/Search/Results.xls +++ b/rt/share/html/Search/Results.xls @@ -54,6 +54,7 @@ $Format => undef <%INIT> use Spreadsheet::WriteExcel; +use OLE::Storage_Lite; use List::Util qw( max ); use Date::Format qw( time2str );