debryc
(Deborah Chang)
March 8, 2021, 1:29pm
1
When I link to another topic on my discourse forum, the preview shows that the link will show up as the title of the topic, but after creating, the topic link continues to be a link.
Top of the screenshot shows a link in the topic
Bottom right of the screenshot shows in the preview screen that the title is supposed to show instead
I’ve updated Discourse to the most recent version + I’ve been able to reproduce this in safe mode with all plugins and themes disabled.
This applies only to new links that I’ve added. Links that I’ve added in the past keep their titles.
Testing what happens on Discourse Meta post: Call function on page change
pfaffman
(Jay Pfaffman)
March 8, 2021, 1:51pm
2
Is the link to a protected category?
debryc
(Deborah Chang)
March 8, 2021, 2:31pm
3
1 Like
sam
(Sam Saffron)
March 9, 2021, 12:40am
4
Looks like our composer is missing a permission check in preview when you are creating topics. The end result though looks correct.
As a rule we do not like exposing data to users when permissions do not line up.
If you are in a private category called “Leadership Development” and are posting a link to a topic in “Another private category”, we do not expand.
There are complications and edge cases when you change categories on a topic.
1 Like
debryc
(Deborah Chang)
March 9, 2021, 12:48am
5
sam:
If you are in a private category called “Leadership Development” and are posting a link to a topic in “Another private category”, we do not expand.
There are complications and edge cases when you change categories on a topic.
None of the categories used are private, though. And the same post will show its title on meta but not on my forum.
How do I troubleshoot and fix this?
sam
(Sam Saffron)
March 9, 2021, 12:51am
6
If everything is public it should work, sounds odd, are you upgraded to latest.
Does this happen on all posts. For example any internal link on your forum fail? What do you all call your Discourse forum? - #34 by debryc
Markdown:
Does this happen on all posts. For example any internal link on your forum fail? https://meta.discourse.org/t/what-do-you-all-call-your-discourse-forum/160991/34
debryc
(Deborah Chang)
March 9, 2021, 12:53am
7
Yes, I’ve updated to the latest and yes, every internal link fails.
sam
(Sam Saffron)
March 9, 2021, 12:57am
8
Is sidekiq working? /sidekiq
should show you that, is there a big backlog?
How do the inline onebox site setting look?
debryc
(Deborah Chang)
March 9, 2021, 1:27am
9
The ignore inline onebox setting is checked
Here’s sidekiq
I don’t know how sidekiq works. This might be the first time I looked at it.
sam
(Sam Saffron)
March 9, 2021, 1:59am
10
Any custom plugins, they can cause issues like this.
1 Like
Can you reproduce the problem here on meta? If you cannot, the problem is by definition something unique to your site.
debryc
(Deborah Chang)
March 10, 2021, 8:01pm
12
The baffling thing to me is that this occurs even in safe mode with all plugins and custom themes disabled. I will check in on the Layouts plug-in because it’s the only non-official plug-in we have.
I think it’s unique to my site but I’m at a loss as to where to look to track down the root cause.
sam
(Sam Saffron)
March 10, 2021, 8:02pm
13
Safe mode would not solve this sadly
I recommend you completely disable all third part plugins by rebuilding the container with them commented out
1 Like