[Koha-bugs] [Bug 17427] New: Replace CGI::Session with Data::Session
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 11 15:34:37 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17427
Bug ID: 17427
Summary: Replace CGI::Session with Data::Session
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: gmcharlt at gmail.com
Reporter: jonathan.druart at bugs.koha-community.org
QA Contact: testopia at bugs.koha-community.org
CGI::Session is not maintained for ages and seems quite buggy.
It would be the culprit of random logout problems.
Another issue is the following crazy code in CGI::Session::Driver::DBI
sub DESTROY {
my $self = shift;
unless ( defined $self->{Handle} && $self->{Handle} -> ping ) {
$self->set_error(__PACKAGE__ . '::DESTROY(). Database handle has gone
away');
return;
}
unless ( $self->{Handle}->{AutoCommit} ) {
$self->{Handle}->commit;
}
if ( $self->{_disconnect} ) {
$self->{Handle}->disconnect;
}
}
If AutoCommit is off, it will commit anyway...
It causes some tests to fail (api) if SessionStorage is set to MySQL
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list