title: Attempted to handle event `pushedData` on <appname@model:post::ember622:17> while in state root.deleted.inFlight
body: <p>I have a basic crud app for blog posts.The above error shows up in the console.After I delete the post.But the post gets deleted from the database.I searched for similar questions and none of the answers solved the issue.I use <strong>JSONAPIAdapter</strong> for the crud actions.</p>
  
  <blockquote>
    <p>I checked the ember inspector for the flags and the flag for <strong>isDeleted</strong> is set to <strong>true</strong>.FYI the number of <strong>records</strong> shown in <em>ember data</em> is precise.</p>
  </blockquote>
  
  <pre><code>deletePost:function(id){
    var self = this;
    this.get('store').find('post', id)
      .then(post =&gt; post.destroyRecord())
        .then(() =&gt; self.transitionToRoute('posts'));
  }
  </code></pre>
  
  <p>I use nodejs as backend and mysql as db.After deleting the record I send a response like this <code>res.status(204).end();</code></p>
  
  <blockquote>
    <p><strong>Ember CLI version 2.6.3</strong></p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/lp0UK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lp0UK.png" alt="enter image description here"></a></p>
  
  <p>The above details in the image is the response from the server.
  <a href="https://i.stack.imgur.com/NWLPY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NWLPY.png" alt="enter image description here"></a></p>