[Koha-bugs] [Bug 32495] New: Required fields in API and UI form don't match

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 19 18:42:46 CET 2022


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

            Bug ID: 32495
           Summary: Required fields in API and UI form don't match
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: ERM
          Assignee: jonathan.druart+koha at gmail.com
          Reporter: matt.blenkinsop at ptfs-europe.com
                CC: jonathan.druart+koha at gmail.com,
                    jonathan.field at ptfs-europe.com,
                    martin.renvoize at ptfs-europe.com,
                    pedro.amorim at ptfs-europe.com

The required fields in the API for adding a new agreement and the form on the
UI to add it don't match.

The API endpoint for POST "/api/v1/erm/agreements" requires "name, status,
is_perpetual"
The form on the UI requires the fields above (is_perpetual is a checkbox with a
default value selected) but also requires "Description".

Description should either be added to the API or the flag on the UI should be
removed.

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


More information about the Koha-bugs mailing list