Bug 36883 - Can't finish club enrollment in the OPAC
Summary: Can't finish club enrollment in the OPAC
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low major
Assignee: Jonathan Druart
QA Contact: Testopia
URL:
Keywords:
Depends on: 34478
Blocks:
  Show dependency treegraph
 
Reported: 2024-05-16 11:55 UTC by Owen Leonard
Modified: 2024-11-14 14:37 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
24.05.00
Circulation function:


Attachments
Bug 36883: Fix club enrollment in the OPAC (2.15 KB, patch)
2024-05-17 07:17 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 36883: Fix club enrollment in the OPAC (2.19 KB, patch)
2024-05-17 14:47 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 36883: Fix club enrollment in the OPAC (2.25 KB, patch)
2024-05-21 18:55 UTC, Nick Clemens (kidclamp)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2024-05-16 11:55:32 UTC
When I try to enroll in a club via the OPAC the "Finish enrollment" stage doesn't work--there's a 403 error:

[WARN] Programming error - No CSRF token passed for POST http://localhost:8080/opac/svc/club/enroll (referer: http://localhost:8080/cgi-bin/koha/opac-user.pl) at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 82.
Comment 1 Jonathan Druart 2024-05-17 07:17:46 UTC
Created attachment 166865 [details] [review]
Bug 36883: Fix club enrollment in the OPAC

The CSRF tokens were missing in the POST requests.
Comment 2 Owen Leonard 2024-05-17 14:47:42 UTC
Created attachment 166910 [details] [review]
Bug 36883: Fix club enrollment in the OPAC

The CSRF tokens were missing in the POST requests.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Comment 3 Nick Clemens (kidclamp) 2024-05-21 18:55:38 UTC
Created attachment 166987 [details] [review]
Bug 36883: Fix club enrollment in the OPAC

The CSRF tokens were missing in the POST requests.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>



Current patch-complexity: Trivial patch
Comment 4 Katrin Fischer 2024-05-22 14:20:16 UTC
Pushed for 24.05!

Well done everyone, thank you!
Comment 5 Fridolin Somers 2024-05-29 13:54:36 UTC
Depends on Bug 4478 not in 23.11.x
Comment 6 Caroline Cyr La Rose 2024-07-09 20:35:13 UTC
Bug fix. Nothing to change in the Koha manual.