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

[docs]: links to changelog are broken #2416

Closed
zaaakher opened this issue Apr 29, 2024 · 1 comment
Closed

[docs]: links to changelog are broken #2416

zaaakher opened this issue Apr 29, 2024 · 1 comment
Labels
kind/bug Something isn't working status/needs-triage

Comments

@zaaakher
Copy link
Contributor

Describe the bug

When clicking on the "changelog" in the footer of the landing site it goes to a next.js error 500
When clicking on the "changelog" in the sidebar of the docs site it also goes to a next.js error 500

When I type https://www.spacedrive.com/docs/changelog/alpha/0.2.13 in the browser it goes to error 500. If I make the version 0.2.12 it also goes to error 500.

If I type https://www.spacedrive.com/docs/changelog/alpha/0.2.11 then it works fine. And I can then switch to 0.2.12 it and works fine.

And it seems the latest release (0.2.13) is not listed in the sidebar.

Reproduction

No response

Expected behavior

The page should work fine with no error 500.

Platform and versions

Google Chrome browser on a Windows 10. Although I'm pretty sure this issue happens to everyone.

Stack trace

No response

Additional context

I think the error is caused from https://github.com/spacedriveapp/spacedrive/blob/main/apps/landing/src/app/docs/changelog/%5Bcategory%5D/%5Btag%5D/page.tsx when fetching the releases/categories.

@zaaakher zaaakher added kind/bug Something isn't working status/needs-triage labels Apr 29, 2024
@utkubakir
Copy link
Collaborator

utkubakir commented Apr 29, 2024

I believe it happens because it's a static page and is cached so we need to trigger a redeploy or cache invalidation after the release. Will fix the issue with a redeployment. Also created an issue for this so we can fix it permanently :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working status/needs-triage
Projects
None yet
Development

No branches or pull requests

2 participants