[koha-commits] main Koha release repository branch master updated. v19.11.00-348-g8b130c2eed
Git repo owner
gitmaster at git.koha-community.org
Wed Jan 15 15:00:28 CET 2020
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 8b130c2eed52ba108752269470741c1321c67e96 (commit)
from feb625ce50af6765498feb2ab15912e0286f48a9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8b130c2eed52ba108752269470741c1321c67e96
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Wed Jan 15 09:45:24 2020 -0300
Bug 23893: Special care for booleans
This patch acknowledges the fact that in D8 the Mojo::JSON->true and
Mojo::JSON->false values don't translate into integers when passed to
DBIC. It works correctly on D9 onwards, but we haven't formally
deprecated Jessie. This is adding back this translation, in the right
place now that all mappings code has been integrated into
Koha::Object(s) directly.
To test:
1. Apply this patch
2. Run:
$ kshell
k$ prove t/db_dependent/Koha/Object.t
=> SUCCESS: Tests pass!
3. Sign off :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
-----------------------------------------------------------------------
Summary of changes:
Koha/Object.pm | 7 ++++++-
t/db_dependent/Koha/Object.t | 19 +++++++++++++++----
2 files changed, 21 insertions(+), 5 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list