[Koha-bugs] [Bug 36273] New: ILL - Refactor $op in ill-requests.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 7 13:47:52 CET 2024


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

            Bug ID: 36273
           Summary: ILL - Refactor $op in ill-requests.pl
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: ILL
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: pedro.amorim at ptfs-europe.com
                CC: pedro.amorim at ptfs-europe.com
        Depends on: 36241, 36243, 36245, 36249

With bug 34478, presenting a form page should be a GET request without 'cud-'
in the op URL parameter.
Additionally, a form that creates, updates or deletes some object should be a
POST with the 'cud-' prefix.

ill-requests.pl did not do this distinction originally, and still doesn't. It
instead works around 'cud-' in the $op to preserve existing functionality. It
should be refactored to better distinguish between a GET $op and a POST $op.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36241
[Bug 36241] ILL Batches are broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36243
[Bug 36243] ILL "Edit request" action is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36245
[Bug 36245] ILL - Custom backend form action is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36249
[Bug 36249] ILL - "Request from partners" action is broken
-- 
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