Discourse throws "ember:19818 Error: Assertion Failed: calling set on destroyed object"

When I add a reply to a post stream in my local discourse instance, this error is thrown in the console although the new post is added to the post stream perfectly.

The error is thrown only if we submit the post before the composer saves the draft

1 « J'aime »

It seemes the errors are thrown from following codelines
https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/components/d-editor.js.es6#L282

https://github.com/discourse/discourse/blob/master/plugins/discourse-presence/assets/javascripts/discourse/components/composer-presence-display.js.es6#L76

3 « J'aime »

Thanks for reporting this issue. This should fix it :strawberry:

https://github.com/discourse/discourse/commit/779efd923563b852ba1d135902abd3c9a0fa3e6c

5 « J'aime »

Its always a pleasure to contribute for Discourse :blush: