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

--- Comment #29 from Jonathan Druart <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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