# Tópicos carregam configurações de fechamento automático ao serem movidos para outra categoria

**URL:** https://meta.discourse.org/t/topics-carry-automatic-close-settings-when-moved-to-another-category/96601
**Category:** Feature
**Created:** [Setembro 7, 2018, 7:26am UTC](https://meta.discourse.org/t/topics-carry-automatic-close-settings-when-moved-to-another-category/96601 "2018-09-07T07:26:26Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [Setembro 7, 2018, 7:26am UTC](https://meta.discourse.org/t/topics-carry-automatic-close-settings-when-moved-to-another-category/96601/1 "2018-09-07T07:26:26Z")

</div>

Yesterday we found out that user System had closed a topic in a circumstance where it shouldn’t have done anything. After discarding the idea of our server reaching singularity, we found what the actual problem was. A bug that I bet you can also reproduce:

1. Set a category to close topics after N hours.
2. Create a topic in that category.
3. Move the topic to a different category that has no automatic close settings (say, because it had been misfiled in the wrong category).

EXPECTED

The topic remains open because it sits in a category where topics are not closed automatically.

ACTUALLY

The topic closes N hours after its creation regardless, because it carried the former category setting when moved away.

I think this bug has certain entity as described. This automatic closing from user System is done silently, and we only realized the topic had been closed after a user willing to respond complained (they thought we had closed the topic in a heavily handed moderation way).

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [Setembro 7, 2018, 9:24am UTC](https://meta.discourse.org/t/topics-carry-automatic-close-settings-when-moved-to-another-category/96601/2 "2018-09-07T09:24:31Z")

</div>

I would say this is as expected. The _topic_ had auto-close set at the time of creation in the category it was created in. Moving it to another category wouldn’t affect that.

---

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [Setembro 7, 2018, 1:23pm UTC](https://meta.discourse.org/t/topics-carry-automatic-close-settings-when-moved-to-another-category/96601/3 "2018-09-07T13:23:07Z")

</div>

Mmmok, now that this happened in our forum a second time (a user creating a topic in the wrong category and then me moving it to the right one), I see that there is a notice telling you that the topic will be closed automatically, and then in the moderation actions there is an options to reset auto-close.

Good enough for this corner case. Thank you for your quick reply.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [Setembro 7, 2018, 3:08pm UTC](https://meta.discourse.org/t/topics-carry-automatic-close-settings-when-moved-to-another-category/96601/4 "2018-09-07T15:08:13Z")

</div>


