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


(Sudaraka Jayathilaka) #1

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


(Sudaraka Jayathilaka) #2

It seemes the errors are thrown from following codelines


(Régis Hanol) #4

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


(Sudaraka Jayathilaka) #5

Its always a pleasure to contribute for Discourse :blush:


(Jeff Atwood) #6