Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtering tags in statistics page - 404 page #71

Open
Elthan opened this issue Aug 21, 2018 · 2 comments
Open

Filtering tags in statistics page - 404 page #71

Elthan opened this issue Aug 21, 2018 · 2 comments

Comments

@Elthan
Copy link
Contributor

Elthan commented Aug 21, 2018

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
Copy link
Contributor

torgeirl commented Dec 12, 2022

Steps to reproduce

  • navigate to the second page of a course's statistics overview (example.com/a/1/statistics/?page=2)
  • select a tag*

(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 torgeirl added this to the Trix 3.1 milestone Dec 19, 2022
@torgeirl
Copy link
Contributor

torgeirl commented Sep 7, 2023

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.

@torgeirl torgeirl modified the milestones: Trix 4.0, Trix 4.1 Nov 29, 2023
@torgeirl torgeirl removed this from the Trix 4.1 milestone Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants