-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Non active but hidden versions are stuck in a redirect loop #9485
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
Comments
Hi @NicolasMassart. Do you have set up a redirect? I think this is a duplicate of #9335. I guess that Read the Docs is not deleting the HTML files from the storage when you mark a version as |
Thanks for your quick reply. I don't think it's a problem with the redirects, yeah. I added the other issue as planned to the roadmap. Hopefully, we can prioritize it soon. Please, subscribe there to receive notifications. |
Also note that the use of hidden on an inactive version is totally useless. If it's inactive it not accessible even in a hidden way. |
You have a point here 👍🏼 . This should not be allowed by the UI -it does not make sense to me. |
This was solved with #9335. |
Details
Hi, was trying to figure out how to make a version inactive and have it redirect to the default (latest) version.
It seems that the behaviour is broken when the version is hidden.
Currently when I uncheck the active box on a version but keep the hidden box checked, if I try to go to the version doc, it get stuck in a redirect loop and browser displays a "too many redirect" error.
This works well if both Active and Hidden are unchecked.
Expected Result
Non active AND hidden versions should redirect to the default version.
Exemple: https://besu.hyperledger.org/en/1.5.0/Concepts/Privacy/Privacy-Overview/ -> https://besu.hyperledger.org/en/stable/Concepts/Privacy/Privacy-Overview/
Actual Result
Non active AND hidden versions are stuck in a redirect loop. The page returns a 302 redirect to the same address.
Exemple https://besu.hyperledger.org/en/1.5.0/Concepts/Privacy/Privacy-Overview/ returns
ERR_TOO_MANY_REDIRECTS
The text was updated successfully, but these errors were encountered: