Bug 36280 - Viewing batch of staged records broken: CSRF token error
Summary: Viewing batch of staged records broken: CSRF token error
Status: RESOLVED DUPLICATE of bug 36195
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 34478
Blocks:
  Show dependency treegraph
 
Reported: 2024-03-08 05:47 UTC by Victor Grousset/tuxayo
Modified: 2024-03-11 21:01 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Grousset/tuxayo 2024-03-08 05:47:05 UTC
1. Stage a batch
2. When it's done, click on "view batch"
3. Page loads but pops an alert that says "403: Forbidden" and table stays empty

network tool show an XHR to /cgi-bin/koha/tools/batch_records_ajax.pl
that returns 403.
The content can be save in an HTML file and opened to show a page that says:

> An error has occurred!
> Error 403
> Programming error - No CSRF token passed for POST



Going to "Manage staged MARC records" and view an existing batch has the same outcome.
Comment 1 Jonathan Druart 2024-03-08 12:54:54 UTC

*** This bug has been marked as a duplicate of bug 36195 ***
Comment 2 Victor Grousset/tuxayo 2024-03-11 20:23:41 UTC
Thanks, it's a catch all ticket, that's why I didn't find it.
Comment 3 Victor Grousset/tuxayo 2024-03-11 21:01:35 UTC
issue reported in the pad, section "Testing Reports (36195):"