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

Broken search layout user guide #309

Open
onno-timmerman opened this issue May 19, 2023 · 5 comments
Open

Broken search layout user guide #309

onno-timmerman opened this issue May 19, 2023 · 5 comments

Comments

@onno-timmerman
Copy link

was looking something up for somebody and used the search on the wagtail guide. When using the search something seems broken :)

Page not found - Wagtail Guide 2023-05-19 17-52-05
@zerolab
Copy link
Contributor

zerolab commented May 19, 2023

Can you check the "network" tab and see what URLs it tries to GET, and the actual response?

@onno-timmerman
Copy link
Author

Search - Wagtail Guide 2023-05-19 18-19-40

No response as it block with the popup. Seems the problem does occur not always. I took this time a couple of searches.

@zerolab
Copy link
Contributor

zerolab commented May 19, 2023

?query=pro shows as 302 then a 404. can you check each of them to get the full URLs?
I tried replicating and could not, so having as much info would help find the issue faster

@laymonage
Copy link
Member

This is reproducible if your browser's preferred language is not available on the website.

For example, with the following setup:

image

Going to https://guide.wagtail.org redirects to https://guide.wagtail.org/id-latest/ that shows a 404 page. Doing search while on this page will trigger this issue.

Similarly, for some reason doing the AJAX-based search while on the search page e.g. https://guide.wagtail.org/en-latest/search/?query=hello will also trigger this issue (only if the language is not available, like above).

@lb-
Copy link
Member

lb- commented May 19, 2023

Moving this issue to the guide repo.

@lb- lb- transferred this issue from wagtail/wagtail May 19, 2023
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

4 participants