OPが削除された場合に、削除済み投稿ページからトピックタイトルが消える

Admins can see a list of deleted user posts at /u/username/deleted-posts. The expectation is that a listed post will include the title of the topic it belongs to (linking to the relevant post), as well as a link to the category that holds the topic. I’m finding that if the topic post (OP) of the associated topic is deleted, that deleted post and any deleted replies will be listed without including a title and category link. The code suggests that the title and category would be shown in all cases.

An example shows how the topic titles are displayed when the OP has been deleted, and when the OP still exists:

The code for the page comes from:
https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/templates/components/user-stream-item.hbs

And the evaluation of postUrl seems to come from here, line 106:

It’s still possible to reach the content of the deleted posts through the logs, if necessary:

「いいね!」 3

Just to note that this has cropped up in another topic recently too -

「いいね!」 2

Same issue here:

「いいね!」 1

Merged the fix. Thanks for the report

「いいね!」 5

This topic was automatically closed after 2 days. New replies are no longer allowed.