Bug 36511: Some scripts missing a dependency following Bug 24879
These files needed the addition of 'use C4::Auth qw( check_cookie_auth );'. To test, apply the patch and restart services. - If necessary, enable the LocalCoverImages system preference. - Open the browser console and then the "Network" tab. You can click "Images" to filter for the correct kind of request. - Perform a catalog search. After the search has loaded, check that there are no 500 errors in the Network tab. - Go to Cataloging -> Label creator. - If necessary, create a label batch and add some items. - Export your batch and test both the "Download as CSV" and "Download as XML" links. Both should trigger the correct download. - Go to Serials -> Claims, and select a vendor with late issues. - Select all late issues and click "Download selected claims" at the bottom of the page. - Your CSV file should download correctly. The file acqui/check_uniqueness.pl has been corrected as well but I'm not sure how to test it! Signed-off-by: danyonsewell <danyonsewell@catalyst.net.nz> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> (cherry picked from commit747f513231
) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit01b22fb71d
) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit72cead50b4
) Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
parent
3d4016ef31
commit
2eab2949fc
5 changed files with 5 additions and 0 deletions
|
@ -35,6 +35,7 @@ use CGI qw ( -utf8 );
|
||||||
use JSON qw( to_json );
|
use JSON qw( to_json );
|
||||||
use C4::Output qw( output_with_http_headers );
|
use C4::Output qw( output_with_http_headers );
|
||||||
use C4::Items qw( SearchItems );
|
use C4::Items qw( SearchItems );
|
||||||
|
use C4::Auth qw( check_cookie_auth );
|
||||||
|
|
||||||
my $input = CGI->new;
|
my $input = CGI->new;
|
||||||
my ($auth_status) =
|
my ($auth_status) =
|
||||||
|
|
|
@ -27,6 +27,7 @@ use Modern::Perl;
|
||||||
|
|
||||||
use CGI qw ( -utf8 );
|
use CGI qw ( -utf8 );
|
||||||
use C4::Context;
|
use C4::Context;
|
||||||
|
use C4::Auth qw( check_cookie_auth );
|
||||||
use Koha::Biblios;
|
use Koha::Biblios;
|
||||||
use Koha::CoverImages;
|
use Koha::CoverImages;
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@ use CGI qw ( -utf8 );
|
||||||
use Text::CSV_XS;
|
use Text::CSV_XS;
|
||||||
|
|
||||||
use C4::Labels;
|
use C4::Labels;
|
||||||
|
use C4::Auth qw( check_cookie_auth );
|
||||||
|
|
||||||
my $cgi = CGI->new;
|
my $cgi = CGI->new;
|
||||||
my ($auth_status) =
|
my ($auth_status) =
|
||||||
|
|
|
@ -24,6 +24,7 @@ use CGI qw ( -utf8 );
|
||||||
use XML::Simple;
|
use XML::Simple;
|
||||||
|
|
||||||
use C4::Labels;
|
use C4::Labels;
|
||||||
|
use C4::Auth qw( check_cookie_auth );
|
||||||
|
|
||||||
my $cgi = CGI->new;
|
my $cgi = CGI->new;
|
||||||
my ($auth_status) =
|
my ($auth_status) =
|
||||||
|
|
|
@ -21,6 +21,7 @@ use C4::Auth;
|
||||||
use C4::Serials qw( GetLateOrMissingIssues updateClaim );
|
use C4::Serials qw( GetLateOrMissingIssues updateClaim );
|
||||||
use C4::Output;
|
use C4::Output;
|
||||||
use C4::Context;
|
use C4::Context;
|
||||||
|
use C4::Auth qw( check_cookie_auth );
|
||||||
|
|
||||||
use Koha::CsvProfiles;
|
use Koha::CsvProfiles;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue