MESH-Research / commons

Humanities Commons WordPress
https://hcommons.org
MIT License
3 stars 0 forks source link

MLA groups broken #901

Closed bjr70 closed 5 months ago

bjr70 commented 5 months ago

Describe the bug I received a reply to my forum post and when I clicked to view the page was broken.

https://hcommons.org/groups/br-test-group-container-1/forum/topic/testing-3/?view=all#post-85095

This has been happening when on the forums, especially when there are attachments.

To Reproduce Click on this link: https://hcommons.org/groups/br-test-group-container-1/forum/topic/testing-3/?view=all#post-85095

If you view the thread from the main forum page it's fine, but when you click on a link in a reply it's broken. Happening in Firefox and Chrome.

Expected behavior The page should not be broken.

Context Does this bug on production, development, or both?

Screenshots

Page busted on forum.png

Additional context Add any other context about the problem here.

bjr70 commented 5 months ago

On upload of an attachment the page is broken in the same way when it refreshes, as well.

mikethicke commented 5 months ago

Confirmed.

mikethicke commented 5 months ago

This issue exists on production as well:

Screenshot 2024-06-12 at 6.54.13 PM.png

You can reproduce by viewing a discussion thread and clicking on any anchor link--ie. the grey #number link at the upper right of a post. It's not about attachments, but about having an anchor link in the URL. Will investigate the cause, but it is not particular to the containerization.

bjr70 commented 5 months ago

Fixed