]> git.koha-community.org Git - koha.git/commit
Bug 25638: Add tests for JSON conversion vs DBD::mysql
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 5 Jun 2020 18:44:39 +0000 (15:44 -0300)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 16 Jun 2020 21:47:07 +0000 (21:47 +0000)
commit2c710ff9102311b7e3a99dd647e247dc77d5625e
treedb98b6e6ce8b8735bd0daae031bd198348ef9ef4
parentd2996eea5fd9637c1a2df9ba5a5a0375679aa050
Bug 25638: Add tests for JSON conversion vs DBD::mysql

We have the situation of needing to cast numbers so they are not
confused in JSON with strings by DBD::mysql returning them with the
wrong internal flags.

We have also recently removed the cast, and adding it back now.
This test could help us detect this situation in case we make changes in
the area, and even on specific libraries versions.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 0569072fc1db2f4af731d5377c654ae7ef76e15a)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
t/db_dependent/Koha/Object.t