[Koha-bugs] [Bug 17445] New: REST API: Generic handling of malformed query parameters

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 14 10:06:01 CEST 2016


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

            Bug ID: 17445
           Summary: REST API: Generic handling of malformed query
                    parameters
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Web services
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: martin.renvoize at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org
                CC: claire_gravely at hotmail.com,
                    jonathan.druart at bugs.koha-community.org,
                    kyle at bywatersolutions.com,
                    martin.renvoize at ptfs-europe.com,
                    testopia at bugs.koha-community.org, tomascohen at gmail.com
        Depends on: 17425, 17428

The swagger plugin as is does not have the option to throw and error on badly
formed query parameter keys (i.e extra or miss spelt keys).

We should hook the around action to add this extra validation


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17425
[Bug 17425] Koha::Object should raise exceptions
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17428
[Bug 17428] REST api: CRUD endpoint for cities
-- 
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