[Koha-bugs] [Bug 30482] Potential for bad string concatenation in cataloging validation error message

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 7 11:33:57 CEST 2022


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|koha-bugs at lists.koha-commun |oleonard at myacpl.org
                   |ity.org                     |
            Summary|Fix display of validation   |Potential for bad string
                   |of important fields when    |concatenation in cataloging
                   |biblio cataloguing          |validation error message

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
We run AreFieldsNotOk() twice and concatenate the result when showing errors on
the screen. If the second run of AreFieldsNotOk() returns false, the string
concatenation adds "0"

-- 
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