https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16622

--- Comment #7 from M. Tompsett <mtomp...@hotmail.com> ---
(In reply to Jacek Ablewicz from comment #4)
> (In reply to M. Tompsett from comment #1)
> > This line in C4/Auth_with_cas.pm is the culprit of all those warns:
> > my $context = C4::Context->new() or die 'C4::Context->new failed';
> > ... Sadly, I believe it is necessary, even though $context is not used.
> 
> Hm, why do you think this call is necessary in C4/Auth_with_cas.pm?

I've re-evaluated whether it is necessary. I think the point of the line was to
prevent further cascading errors.

Auth_with_cas uses:
intranetdir from the KOHA_CONF
casServerUrl from the system preferences table
OPACBaseURL from the system preferences table
staffClientBaseURL from the system preferences table

A simple use (as triggered by 00-load.t) should be fine with the line removed.
A more complex use should bomb, so the problems can get fixed. :) Sorry for the
worry about dragons, Jacek Ablewicz.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to