# 오브젝트 설정 편집기를 통해 사이드바를 추가할 수 없습니다

**URL:** https://meta.discourse.org/t/cannot-add-sidebar-via-objects-setting-editor/395567
**Category:** Bug
**Tags:** tags, topic-list-sidebars
**Created:** [2월 9, 2026, 4:31오후 UTC](https://meta.discourse.org/t/cannot-add-sidebar-via-objects-setting-editor/395567 "2026-02-09T16:31:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Hineroptera](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hineroptera/32/319050_2.png) [@Hineroptera](https://meta.discourse.org/u/Hineroptera)
#### Post date: [2월 9, 2026, 4:31오후 UTC](https://meta.discourse.org/t/cannot-add-sidebar-via-objects-setting-editor/395567/1 "2026-02-09T16:31:02Z")

</div>

안녕하세요! 저는 [https://forum.image.sc](https://forum.image.sc) 디스코urs 사이트의 관리자입니다. 현재 [Topic List Sidebars](http://github.com/discourse/discourse-topic-list-sidebars) 구성 요소에 새 항목을 추가하려고 할 때 다음과 같은 오류가 발생하고 있습니다:

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/4/6/946b2b848d1ebf27ec84f79aa28b170eccb8d328.png)

### 재현 방법

1. `Admin` 섹션 열기
2. `Appearance`에서 `Themes & components` 선택
3. `Components`에서 `Topic List Sidebars` 항목 옆의 `Edit` 클릭
4. `Objects setting editor` 클릭
5. 맨 아래로 스크롤하여 `+ sidebar`를 클릭하고 새 토픽 선택
6. 맨 위로 다시 스크롤하여 `name`, `tag`, `topic_id` 입력
7. 맨 아래로 다시 스크롤하여 `Save Changes` 클릭
8. 오류 메시지가 표시되고 사이드바 저장 실패

### 시도해 본 대안 (동일한 실패)

- 구성 요소가 최신 상태인지 확인
- 카테고리 추가
- 여러 개의 유효한 태그 추가
- 태그 이름에서 `-` 제거

### 우회 방법

`Objects setting editor` 대신 `Topic List Sidebars` 구성 요소 편집 페이지 하단의 `Settings Editor` 버튼을 사용하면 JSON을 직접 편집할 수 있습니다. GUI에서 거부되는 동일한 데이터로 항목을 수동으로 성공적으로 생성할 수 있었습니다.

이는 저장 로직에서 태그를 감지하고 배열로 래핑하는 과정에서 오류가 발생하고 있음을 시사합니다.

### 마지막 성공 시점

1월 5일에 사이트의 사이드바가 추가되었을 때 GUI 항목이 의도대로 작동하고 있었습니다.

### 추가 참고 사항

- `Edit sidebars setting` 페이지에서 사이드바가 스크롤 구성 요소에 있지 않기 때문에, 사이드바 목록이 충분히 길 경우 `Save Changes`를 클릭했을 때 오류 메시지와 데이터 입력 영역이 화면에 표시되지 않습니다. 처음에는 문제가 있다는 사실조차 인지하지 못했습니다.
- 오류 메시지가 이름 대신 인덱스를 제공하여 어떤 항목이 유효성 검사를 통과하지 못했는지 명확하지 않았던 점이 상황을 악화시켰습니다.

지원해 주셔서 감사합니다!

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2월 9, 2026, 7:18오후 UTC](https://meta.discourse.org/t/cannot-add-sidebar-via-objects-setting-editor/395567/2 "2026-02-09T19:18:53Z")

</div>

세심한 보고 감사합니다. 덕분에 훨씬 쉽게 문제를 추적할 수 있었습니다. 이 문제는 Discourse에서 수정이 필요하며, 다음 사이트 업데이트 시 해당 수정 사항이 반영될 것입니다.

> <https://github.com/discourse/discourse/pull/37643>
>
> Reported here: https://meta.discourse.org/t/cannot-add-sidebar-via-objects-setti…ng-editor/395567
> 
> Objects were getting passed instead of strings, and \`SchemaSettingsObjectValidator\` expects an array of strings, not an array of objects. The fix is similar to what we do for categories here: https://github.com/discourse/discourse/blob/cb379b8605ad61353482f1d7eb554ed9282ac81c/frontend/discourse/admin/components/schema-setting/types/categories.gjs#L28-L33
