Bug 28155 - Guided report save goes to 403
Summary: Guided report save goes to 403
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Reports (show other bugs)
Version: 20.05
Hardware: All Linux
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-16 10:00 UTC by Kim Colbourne
Modified: 2021-12-13 21:10 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Colbourne 2021-04-16 10:00:34 UTC
Guided reports go to the point of Save, and return a 403 page.  Previously saved reports run fine.
Comment 1 Katrin Fischer 2021-04-17 14:31:51 UTC
Hi Kim, thx for reporting. Could you add a bit more detail? Are you creating a new guided report when this occurs? What is your exact Koha version? This can be found on the first tab of the About page.
Comment 2 Katrin Fischer 2021-04-17 14:33:25 UTC
On master this works ok for me, but there might be a version difference or some difference we haven't figured out yet.
Comment 3 Kim Colbourne 2021-04-21 03:56:54 UTC
(In reply to Katrin Fischer from comment #1)
> Hi Kim, thx for reporting. Could you add a bit more detail? Are you creating
> a new guided report when this occurs? What is your exact Koha version? This
> can be found on the first tab of the About page.

Creating a new guided report.  Wondering if it's a permissions problem on the folder that's stopping me saving a new report?  Previously created reports all run fine.  Version is 20.05.10.  Also wondering if it's a newly installed WAF causing issues as I haven't created any reports since installing it.
Comment 4 Katrin Fischer 2021-04-21 19:43:38 UTC
A file permission error is not so likely, as we are storing into the database, not into a file system. 

Are you able to check from a different system without the latest WAF change to compare?
Comment 5 Jonathan Druart 2021-04-22 12:06:32 UTC
Tested on 20.05.10 and I am able to create a guided report, save it, and run it.
Comment 6 Katrin Fischer 2021-04-22 19:22:30 UTC
(In reply to Jonathan Druart from comment #5)
> Tested on 20.05.10 and I am able to create a guided report, save it, and run
> it.

Thx Joubu!
Comment 7 Kim Colbourne 2021-04-30 09:50:43 UTC
(In reply to Katrin Fischer from comment #1)
> Hi Kim, thx for reporting. Could you add a bit more detail? Are you creating
> a new guided report when this occurs? What is your exact Koha version? This
> can be found on the first tab of the About page.

Creating a new guided report.  Wondering if it's a permissions problem on the folder that's stopping me saving a new report?  Previously created reports all run fine.  Version is 20.05.10.  Also wondering if it's a newly installed WAF causing issues as I haven't created any reports since installing it.
Comment 8 Kim Colbourne 2021-04-30 09:52:06 UTC
Apologies for previous double post.  Changed WAF to detection only and everything runs fine.  So it's something in the ruleset, nothing to do with Koha.  Apologies again.
Comment 9 Katrin Fischer 2021-05-01 22:18:13 UTC
(In reply to Kim Colbourne from comment #8)
> Apologies for previous double post.  Changed WAF to detection only and
> everything runs fine.  So it's something in the ruleset, nothing to do with
> Koha.  Apologies again.

No problem, glad a solution could be found!