[Bug 37064] New: Spurious CSRF error logged by 500.pl when a POST request fails
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37064 Bug ID: 37064 Summary: Spurious CSRF error logged by 500.pl when a POST request fails Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org I haven't been able to set things up to recreate on KTD, but in production: 1 - Set an email for a patron and enable HOLD notifications 2 - Edit the HOLD letter to use a spurious item field [% item.itemcopynumber %] 3 - Place a hold for patron and confirm 4 - Error in logs ERROR PROCESSING TEMPLATE: undef error - The method Koha::Item->itemcopynumber is not covered by tests! 5 - But also: [WARN] Programming error - op 'cud-affect_reserve' must not start with 'cud-' for GET https://staff-library.provider.com/intraneterrors/500.pl (referer: https://staff-library.provider.com/cgi-bin/koha/circ/returns.pl) at /usr/share/koha/lib/Koha/Middleware/CSRF.pm line 82. 6 - The ErrorDocument middleware automatically transforms every request into a GET - so suddenly the cud- op is rejected -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37064 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au, | |jonathan.druart@gmail.com, | |kyle@bywatersolutions.com, | |martin.renvoize@ptfs-europe | |.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37064 --- Comment #1 from David Cook <dcook@prosentient.com.au> --- This is probably a duplicate of bug 37040 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37064 --- Comment #2 from David Cook <dcook@prosentient.com.au> --- Can you check it out and let me know what you think? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37064 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |In Discussion -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37064 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|In Discussion |RESOLVED --- Comment #3 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- *** This bug has been marked as a duplicate of bug 37040 *** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org