인기 주제 텍스트가 없습니다

Brave Linux, Meta theme. Unsure if this is intentional but it doesn’t look right

2개의 좋아요

음, 기본 테마에서도 같은 현상이 보입니다.

이름을 위한 요소는 있지만, 내용이 비어 있습니다!

이것은 의도적으로 그렇게 된 것 같지 않아서, 일단 Contribute > Bug 게시판으로 옮기겠습니다.

5개의 좋아요

Here is a quick look to help figure out the issue before bed. :smile:

https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/helpers/category-link.js#L159

displayName doesn’t exist. There is a name field instead.

The changes happen in this commit:

https://github.com/discourse/discourse/commit/c197daa04c3114184cbd3ec2f1cfade1b5701793

It seems to miss the getters in the context of user summary since the data is retrieved from /summary.json.

https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/models/user.js#L1068-L1073

Maybe mapping top_categories with Category.create() or a basic specific class would be okay.

4개의 좋아요

This makes me think of Category names missing on group permissions page. Both lost the text, so maybe it’s the same issue.

2개의 좋아요

Seems like it could possible be a result of then same issue but it’s in a different area. Not going to pretend like I know how Discourse works so I can’t input on that really

1개의 좋아요

@j.jaffeux this and Category names missing on group permissions page look like regressions from DEV: allows to alter category name/description (#28263) · discourse/discourse@c197daa · GitHub

categoryName is returning an empty string, looks like these couple of places aren’t working with the new displayName getter?

4개의 좋아요

That should fix it:

https://github.com/discourse/discourse/pull/28353

6개의 좋아요

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.