[Koha-bugs] [Bug 17427] Replace CGI::Session with Data::Session

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 7 13:45:19 CEST 2021


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

--- Comment #29 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
And it's not possible to add a serializer that is not in the same dir as
others, because of this code in Data::Session:

 318 sub get_my_serializers
 319 {
 320     my($self)   = @_;
 321     my($path)   = $self -> _get_pm_path('Serialize');
 322 
 323     # Warning: Use sort map{} read_dir, not map{} sort read_dir. But, why?
 324 
 325     my(@serializer) = sort map{s/.pm//; $_} read_dir($path);
 326 
 327     ($#serializer < 0) && die __PACKAGE__ . '. No serializers available';
 328 
 329     ($self -> verbose > 1) && $self -> log('Serializers: ' . join(', ',
@serializer) );
 330 
 331     $self -> my_serializers(\@serializer);
 332 
 333 } # End of get_my_serializers.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list