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

Navigation issues when directly accessing a section in the wiki #151

Open
javihernandez opened this issue Jun 16, 2022 · 6 comments
Open
Labels
bug Something isn't working

Comments

@javihernandez
Copy link
Member

javihernandez commented Jun 16, 2022

Hi, I'm having navigation issues when I directly go into a section of the wiki. So far, I'm seeing that it happens when accessing the mirrors section, but I didn't check whether it happens with other sections.

Steps to reproduce:

  1. Open a new tab and go into https://wiki.almalinux.org/Mirrors.html
  2. Try to move to another section of the wiki using the navigation menu

Expected result:

The browser takes me to the section of the wiki I clicked on the menu

Actual result:

Although the address bar gets updated, I remain in the mirrors section

In Chrome's dev/inspect panel I can see the following error in the console:

app.2f3c144b.js:12 DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method.
    at Object.appendChild (https://wiki.almalinux.org/assets/js/app.2f3c144b.js:12:47748)
    at d (https://wiki.almalinux.org/assets/js/app.2f3c144b.js:12:60503)
    at u (https://wiki.almalinux.org/assets/js/app.2f3c144b.js:12:60240)
    at h (https://wiki.almalinux.org/assets/js/app.2f3c144b.js:12:60589)
    at C (https://wiki.almalinux.org/assets/js/app.2f3c144b.js:12:63927)
    at C (https://wiki.almalinux.org/assets/js/app.2f3c144b.js:12:63862)
    at C (https://wiki.almalinux.org/assets/js/app.2f3c144b.js:12:63862)
    at C (https://wiki.almalinux.org/assets/js/app.2f3c144b.js:12:63862)
    at C (https://wiki.almalinux.org/assets/js/app.2f3c144b.js:12:63862)
    at C (https://wiki.almalinux.org/assets/js/app.2f3c144b.js:12:63862)

I guess that there's something inside the mirror section that bothers Vuepress, see the following related issue

@sakelestemur
Copy link
Contributor

Hello Javier,
Thank you for sharing the issue and possible reasons. We are now working on it.

@javihernandez
Copy link
Member Author

Thanks @sakelestemur!
BTW, yesterday night I build and ran the wiki locally, and to my surprise, I couldn't reproduce the problem 🤷
Good luck with the bug hunt ;)

@sakelestemur
Copy link
Contributor

You're welcome @javihernandez.
And I also could not reproduce it on my local machine. The navigation works on the mirror page without any problem.
So, it seems we should make the bug hunt deeper. :) Thanks again!

@sakelestemur
Copy link
Contributor

Hello again @javihernandez
It may be a web server misconfiguration. But also I checked the error on the browser development tools that you've mentioned. If everything is okay, it should be because of JS minifying. We should check CloudFlare settings.

@bennyvasquez bennyvasquez added the bug Something isn't working label Nov 19, 2022
@bennyvasquez
Copy link
Member

@javihernandez I'm not seeing this today when testing either. Can you confirm if you're still seeing this problem?

@javihernandez
Copy link
Member Author

Hey @bennyvasquez, yes, the issue is still present

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

No branches or pull requests

3 participants