[Koha-bugs] [Bug 34169] New: Add pattern check for monetary fields to acquisition module

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 30 11:27:47 CEST 2023


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

            Bug ID: 34169
           Summary: Add pattern check for monetary fields to acquisition
                    module
 Change sponsored?: ---
           Product: Koha
           Version: 22.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Acquisitions
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: katrin.fischer at bsz-bw.de
        QA Contact: testopia at bugs.koha-community.org
                CC: michaela.sieber at kit.edu

In the patron module we validate the input fields for monetary values using a
pattern check 
(see
https://wiki.koha-community.org/wiki/Coding_Guidelines#ACC2:_Input_type_.22number.22_should_be_avoided),
but we don't do the same in acq.

Especially for countries that use decimal comma this can lead to problems. At
the moment Koha only accepts decimal point and a wrongly entered value might
get turned from 1,00 to 100 or similar easily. 

Until we can fix the input formats properly, we should extend the pattern check
to fields in the acq module I think.

Also: We can use the pattern check later to identify any fields that needs work
for different input formats.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list