Bug 36280

Summary: Viewing batch of staged records broken: CSRF token error
Product: Koha Reporter: Victor Grousset/tuxayo <victor>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: jonathan.druart, m.de.rooy
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 34478    
Bug Blocks:    

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):"