[Koha-bugs] [Bug 28489] CGI::Session is incorrectly serialized to DB in production env / when strict_sql_modes = 0

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 4 17:47:36 CEST 2021


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

--- Comment #40 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Julian, Andrew and me worked on it today but we have not found a correct
solution so far.


The only viable solution would be:
1. For master: Replace CGI::Session with Data::Session using JSON serialization
(see bug 17427 and note that there is still a problem there)
2. For 21.05: Reintroduce the YAML dependency and use YAML serialization with
CGI::Session (we know it is a working solution and we are failing to provide a
fix with Data::Dumper)
3. Developers will test Data::Session in master
4. Eventually backport the Data::Session move into 21.05

Note that the proposed solution on bug 17427 does not require a datatype change
(sessions.a_session is still longtext).

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


More information about the Koha-bugs mailing list