Hello,
I’ve noticed in docs some topics content not load, only the topic title.
To repro it go for example this topic Configure an S3 compatible object storage provider for uploads and check the console.
Thanks ![]()
A trackStatus error in Discourse docs topics has been reported by Don, where topic content fails to load, only displaying the title. JammyDodger was able to reproduce the issue and found that it is caused by @mentions.
Adam5 reported that every post including a mention is broken on their install, and identified the problem as User.create not being executed, resulting in a generic object instead of a user object.
andrei confirmed that this is a similar problem to a previously fixed issue, but requires another fix. A fix has been implemented in https://github.com/discourse/discourse/pull/19442, which resolves the problem but results in static status on mentions in docs.
A further fix to make the status on mentions dynamic has been implemented in https://github.com/discourse/discourse-docs/pull/117.
Hello,
I’ve noticed in docs some topics content not load, only the topic title.
To repro it go for example this topic Configure an S3 compatible object storage provider for uploads and check the console.
Thanks ![]()
I can repro that.
It seems it’s the @mentions. If I wrap them in some preformatted text in the base topic then it displays the docs view properly again.
I will pass it on and see if we can get that fixed up. ![]()
Yeah, I think there was a fix that might be related with this few days ago: FIX: error when opening a previously deleted post by AndrewPrigorshnev · Pull Request #19346 · discourse/discourse · GitHub
Every post including a mention is broken, at least on my install. The problem seems to be that User.create in @andrei 's change FEATURE: Show live user status on inline mentions on posts (#18683) · discourse/discourse@a76d864 · GitHub isn’t being executed and the mentioned user is therefore a generic object instead of a user object.
This is a similar problem, but it needs another fix. I am working on it now.
Do you mean every post on docs topics, or general posts as well?
In my case it is a general problem when I create a topic and mention someone.
I see, thank you! Could you please share an error message from the browser console like in the opening post?
This fixes the problem in the calendar plugin, and also makes sure the same problem won’t appear in other plugins:
https://github.com/discourse/discourse/pull/19442
Note that the status on mentions in docs will be static. If you’re looking at someone’s status in a doc and that person would change the status, you won’t see an update immediately, only after reloading the page. But I’m going to fix it, I’ll post an update here.
The fact it’s a generic problem on your instance is interesting, in general that shouldn’t happen on regular posts, for example it doesn’t happen here on Meta. Still, the fix should address this issue too (with the same drawback, status on mentions won’t be receiving live updates).
This topic was automatically closed after 25 hours. New replies are no longer allowed.
It’s fixed in