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

Pagination does not work on ubuntu.com/security/notices #13981

Closed
seva-luchianov opened this issue Jun 21, 2024 · 4 comments
Closed

Pagination does not work on ubuntu.com/security/notices #13981

seva-luchianov opened this issue Jun 21, 2024 · 4 comments

Comments

@seva-luchianov
Copy link

If you navigate to any page other than the first page on https://ubuntu.com/security/notices, you do not see the expected results.
The results you do see are ancient notices (USN-12-1 up through USN-20-1) from 2004 and are the same for any subsequent page.

I believe this is related to passing in the ?offset= query string which is used for pagination on both the main page and the https://ubuntu.com/security/notices.json API.

When using the json API, passing in the ?offset= query string causes a 503 error response.
Note that going to https://ubuntu.com/security/notices.json without the offset will load the correct results.

Repro Steps:


Reported from: https://ubuntu.com/security/notices

@seva-luchianov
Copy link
Author

seva-luchianov commented Jun 21, 2024

After further poking at the website I found that ?offset=40 (page 5 as of writing this comment) and greater will start to return real results for https://ubuntu.com/security/notices

The results returned for ?offset=40 end at June 6th so this bug is still preventing users from accessing any notices between June 6th and June 17th

This behavior is not mirrored for https://ubuntu.com/security/notices.json which is still broken for any offset query string.

@seva-luchianov
Copy link
Author

Looking at other issues this appears to coincide with the release of
canonical/ubuntu-com-security-api#152

@lizzochek
Copy link
Contributor

Hello @seva-luchianov. Thank you for filing an issue, it seems to be resolved and is currently not happening. If it keeps happening for you, please file a new issue.

@seva-luchianov
Copy link
Author

I just tried navigating to https://ubuntu.com/security/notices.json?offset=20 and it's still returning a 503 error. How/when was this fixed? It's not working in a private window so it shouldn't be a cache/cookie issue.
ubuntu.com.har.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants