[Koha-bugs] [Bug 31473] New: Test about bad OpacHiddenItems conf fragile
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Aug 26 21:39:16 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31473
Bug ID: 31473
Summary: Test about bad OpacHiddenItems conf fragile
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: tomascohen at gmail.com
QA Contact: testopia at bugs.koha-community.org
It tests for data truncation (when a two-letter string is passed for a
tinyint(1) field) but there's been some behavior change in the way expressions
are processed that makes the test fail:
# Failed test at t/db_dependent/Koha/Items.t line 1754.
# got: 'Truncated incorrect DECIMAL value: 'AB''
# expected: 'Truncated incorrect DOUBLE value: 'AB''
The fact the expression was tested as a DECIMAL or a DOUBLE first is not really
relevant here.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list