카테고리 중 하나에 접근할 수 없습니다

https://meta.discourse.org/t/discourse-2-6-0-beta5-release-notes/168756

beta5로 업데이트한 이후로 우리 카테고리 중 하나에 더 이상 접근할 수 없는 것 같아 궁금합니다. 필요한 로그가 있으면 알려주세요. 저는 관리자이지만, 이 특정 카테고리를 이름으로 선택하려고 클릭하면 다음과 같은 화면이 보입니다:

나머지 모든 카테고리는 정상적으로 열립니다.

이 카테고리의 이름에 특수 문자가 포함되어 있나요?

“커뮤니티 캘린더”

“커뮤니티 캘린더” 카테고리를 다른 카테고리와 통합하는 방법에 대한 조언을 구하기 위해 다시 확인해 봅니다. 여전히 카테고리를 선택해 접근할 수 없고, 개별 게시물은 여전히 접근 가능합니다. 에러 로그도 나타나지 않습니다.

오! 해당 페이지가 존재하지 않거나 비공개입니다. :thinking:

이 카테고리의 rails 출력입니다.

요약

#<Category:0x000055cde93db078
id: 36,
name: “Community Calendar”,
color: “ED207B”,
topic_id: 419,
topic_count: 15,
created_at: Sun, 24 Mar 2019 18:10:42 UTC +00:00,
updated_at: Sun, 20 Dec 2020 08:27:45 UTC +00:00,
user_id: 2,
topics_year: 5,
topics_month: 0,
topics_week: 0,
slug: “Unofficial-events”,
description: “이 <a href="https://discuss.noisebridge.info/calendar\”>비공식 커뮤니티 캘린더는 여러분이 공유하고 싶은 모든 이벤트를 위한 공간입니다. Noisebridge 밖의 삶.",
text_color: “FFFFFF”,
read_restricted: false,
auto_close_hours: nil,
post_count: 26,
latest_post_id: 8837,
latest_topic_id: 2105,
position: 20,
parent_category_id: nil,
posts_year: 9,
posts_month: 0,
posts_week: 0,
email_in: nil,
email_in_allow_strangers: false,
topics_day: 0,
posts_day: 0,
allow_badges: true,
name_lower: “community calendar”,
auto_close_based_on_last_post: false,
topic_template: “이 캘린더는 여러분이 공유하고 싶은 모든 이벤트를 위한 것입니다.\n이벤트는 Noisebridge와 관련이 없어도 됩니다.\n”,
contains_messages: nil,
sort_order: “”,
sort_ascending: nil,
uploaded_logo_id: 504,
uploaded_background_id: nil,
topic_featured_link_allowed: true,
all_topics_wiki: false,
show_subcategory_list: false,
num_featured_topics: 3,
default_view: “calendar”,
subcategory_list_style: “rows_with_featured_topics”,
default_top_period: “all”,
mailinglist_mirror: false,
minimum_required_tags: 0,
navigate_to_first_post_after_read: false,
search_priority: 0,
allow_global_tags: false,
reviewable_by_group_id: nil,
required_tag_group_id: nil,
min_tags_from_required_group: 1,
read_only_banner: nil,
default_list_filter: “all”>

이것과 관련이 있을 수 있습니다:
https://meta.discourse.org/t/discourse-event/149964/135

감사합니다. rails 콘솔에서 default_view 수정 사항을 적용해야 할 것 같습니다. id가 36인 “Unofficial-events” 카테고리의 기본 뷰를 최신(latest)으로 변경하는 방법에 대해서는 명확하지 않습니다.

해당 지침을 따르려 했습니다. myCategory를 Unofficial-events로 바꾸고 id 36을 함께 사용해야 하는지 명확하지 않습니다.

여전히 rails 콘솔에 익숙하지 않습니다. 제 시도 요약

$ ./launcher enter app

rails c

[1] pry(main)> Unofficial-events = Category.find_by(id: 36)
NameError: uninitialized constant Unofficial
from (pry):1:in __pry__' [2] pry(main)> Unofficial-events.default_view = "latest" NameError: uninitialized constant Unofficial from (pry):2:in pry’
[3] pry(main)> Unofficial-events.save!
NameError: uninitialized constant Unofficial
from (pry):3:in __pry__' [4] pry(main)> myCategory = Category.find_by(id 36) NoMethodError: undefined method id’ for main:Object
from (pry):4:in `pry’
[5] pry(main)>

:thinking: Unofficial-event의 대시(-)는 확실하지 않아요. myCategory를 변수 이름으로 사용하면 작동할 거예요.

from (pry):3:in __pry__' [4] pry(main)> myCategory = Category.find_by(id 36) NoMethodError: undefined method id’ for main:Object
from (pry):4:in ` pry ’
[5] pry(main)>

@Benjamin_D 님, 감사합니다. 이 작업을 수행해야 하는 경우, 이 게시글의 마지막 단계에 오타가 하나 있다는 점을 참고하세요. myCategory.save!로 저장하면 됩니다.

id와 36 사이에 콜론(:)이 빠져 있습니다