# Adding an 'edit reason' to a post then clicking category dropdown causes page to go blank

**URL:** https://meta.discourse.org/t/adding-an-edit-reason-to-a-post-then-clicking-category-dropdown-causes-page-to-go-blank/76300
**Category:** Bug
**Created:** [18 december 2017 om 08:28 UTC](https://meta.discourse.org/t/adding-an-edit-reason-to-a-post-then-clicking-category-dropdown-causes-page-to-go-blank/76300 "2017-12-18T08:28:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [18 december 2017 om 08:28 UTC](https://meta.discourse.org/t/adding-an-edit-reason-to-a-post-then-clicking-category-dropdown-causes-page-to-go-blank/76300/1 "2017-12-18T08:28:43Z")

</div>

Adding an edit reason to a post and then clicking the category dropdown menu causes the page to go blank. The error in the console is `Uncaught Error: infinite rendering invalidation detected`.

Tested on Google Chrome 62.0.3202.94 and Safari

 ![37 AM](https://global.discourse-cdn.com/meta/original/3X/5/b/5bb41ae086a49833dfe9510d2b310084d58c2375.png)

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [18 december 2017 om 09:32 UTC](https://meta.discourse.org/t/adding-an-edit-reason-to-a-post-then-clicking-category-dropdown-causes-page-to-go-blank/76300/3 "2017-12-18T09:32:46Z")

</div>

@sam

```plaintext
ember:19818 Error: Assertion Failed: calling set on destroyed object: <(unknown mixin):ember1760>.presenceUsers = 
    at assert (ember:8031)
    at Object.assert (ember:8244)
    at Object.set (ember:24240)
    at Class.set (ember:37110)
    at Class.eval (javascripts/discourse/components/composer-presence-display:152)
    at fn (ember:2766)
    at invokeWithOnError (ember:2197)
    at Queue.flush (ember:2256)
    at DeferredActionQueues.flush (ember:2380)
    at Backburner.end (ember:2450)

```

I can investigate more, but do you think it’s related to your today’s change ? I imagine some hijack request is returning after an object has been destroyed.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [18 december 2017 om 09:37 UTC](https://meta.discourse.org/t/adding-an-edit-reason-to-a-post-then-clicking-category-dropdown-causes-page-to-go-blank/76300/4 "2017-12-18T09:37:52Z")

</div>

very likely, getting late here, when it runs the expire it needs to check if the object is destroyed, I can look first thing tomorrow.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [18 december 2017 om 11:27 UTC](https://meta.discourse.org/t/adding-an-edit-reason-to-a-post-then-clicking-category-dropdown-causes-page-to-go-blank/76300/5 "2017-12-18T11:27:39Z")

</div>

Hmm, well this should at least fix it that backtrace:

[https://github.com/discourse/discourse/commit/de20e36629cc66e3ce554c755907b40afd5d6e96](https://github.com/discourse/discourse/commit/de20e36629cc66e3ce554c755907b40afd5d6e96)

not sure if it fixes the other issue here.

---

<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: [19 december 2017 om 08:35 UTC](https://meta.discourse.org/t/adding-an-edit-reason-to-a-post-then-clicking-category-dropdown-causes-page-to-go-blank/76300/6 "2017-12-19T08:35:16Z")

</div>


