[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
Thu Jun 3 11:31:04 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28489
Julian Maurice <julian.maurice at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #121563|0 |1
is obsolete| |
--- Comment #18 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 121564
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121564&action=edit
Bug 28489: Modify sessions.a_session from longtext to longblob
This column contains serialized data, it should be a blob.
And it fixes encoding issues.
Test plan:
1. Apply patch and run updatedatabase
2. In $KOHA_CONF make sure that you have
<strict_sql_modes>0</strict_sql_modes>
3. Create 2 libraries:
a. TESTÄ/Testä
b. TEST✓/Test✓
4. Go to the staff interface, change your library to Testä, then
navigate to a few other pages, make sure there is no encoding problem
with the library name in the top right corner
5. Do the same with Test✓
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list