devilry / trix2

Next generation Trix. Detailed task control and statistics app for better learning outcome.
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

Filtering tags in statistics page - 404 page #71

Open Elthan opened 6 years ago

Elthan commented 6 years ago

Tags in the statistics page include the page number query in the URL. This means that when filtering from, ex, the second page on a tag that does not have 2 pages worth of assignment it will lead to a 404 as the page does not exist.

Solved by either deleting page from URL in tags or redirecting automatically when does not find the page.

torgeirl commented 1 year ago

Steps to reproduce

(Edit: * for some reason, semester tags aren't affected by this issue.)

I'm able to reproduce this with v3.0.0b13 (issue #102).

torgeirl commented 1 year ago

From our monitoring I noticed a similar URI that yields a HTTP 500: /?tags=&page=2. I have no idea how our users even ended up on there, but it might be useful for debugging.