# 커스텀 "게시물 버튼"이 삭제된 상태의 게시물에서 오류 발생

**URL:** https://meta.discourse.org/t/custom-post-button-generates-error-when-post-is-in-deleted-state/412158
**Category:** Bug
**Tags:** fixed, workflows
**Created:** [9월 10, 2026, 9:29오후 UTC](https://meta.discourse.org/t/custom-post-button-generates-error-when-post-is-in-deleted-state/412158 "2026-09-10T21:29:18Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [9월 14, 2026, 10:24오전 UTC](https://meta.discourse.org/t/custom-post-button-generates-error-when-post-is-in-deleted-state/412158/3 "2026-09-14T10:24:48Z")

</div>

@per1234 님, 보고해 주셔서 감사합니다 👍 다음 링크를 통해 수정될 예정입니다.

> <https://github.com/discourse/discourse/pull/43625>
>
> Previously, the topic admin menu still showed workflow buttons on deleted topics…, but clicking one returned a 404 because the trigger service looked the topic up through its default scope, which hides trashed topics. This is the same problem post buttons had on deleted posts.
> 
> This change looks the topic up including deleted records. The trigger is limited to admins, who can already see deleted topics, so no additional visibility check is needed.
> 
> Stacked on #43624.

---

_[View the full topic](https://meta.discourse.org/t/custom-post-button-generates-error-when-post-is-in-deleted-state/412158)._
