ember-inspector icon indicating copy to clipboard operation
ember-inspector copied to clipboard

Data tab doesn't remove records

Open amk221 opened this issue 10 years ago • 8 comments

When removing a record, the count goes down in the inspector, but the deleted record is still displayed. https://youtu.be/pKzPLWjFMn8

Inspector: 1.9.1 Ember : 2.0.2 Ember Data : 2.0.0-beta.2 jQuery : 2.1.4

amk221 avatar Sep 09 '15 11:09 amk221

Same behavior. Unloading all records updates the model counter, but the records are still shown in the list. The list is only refreshed to display correct state after switching tabs back and forth.

sevab avatar Sep 24 '15 10:09 sevab

Looks like it's an issue with Ember Data > 2.0. @sevab which ED version are you on?

teddyzeenny avatar Sep 28 '15 08:09 teddyzeenny

Same issue here. Overview of records does not reload/update when unloading records.

ember 2.1.0 ember-data 2.1.0 ember-inspector 1.9.4

(only tested in chrome)

jcbvm avatar Dec 09 '15 10:12 jcbvm

Same here.

Ember : 2.2.0 Ember Data : 2.2.1 Ember Inspector: 1.9.4 Firefox: 43.0.4, Win 8

After switching the model type and switch back all deleted records are gone.

DoctypeRosenthal avatar Jan 13 '16 14:01 DoctypeRosenthal

Seeing this issue as well. Pretty confusing to see multiple records that you don't expect in the explorer when debugging. It should certainly clear itself out when new data arrives so the developer can get an accurate picture of the state of the app.

trcarden avatar Jan 22 '16 06:01 trcarden

@thorsteinsson will converting to ember-table fix this? I'm not sure how our tables are attempted to be kept in sync with the records now or if that will change anything.

RobbieTheWagner avatar Oct 14 '18 20:10 RobbieTheWagner

We should create a test app to add and remove records and see if this is still an issue.

RobbieTheWagner avatar Mar 27 '19 20:03 RobbieTheWagner

I was unable to reproduce this issue using this example app: https://github.com/emberjs/ember-inspector/issues/464: Screen Shot 2019-07-26 at 13 35 12 You can clone that repository, get it running and click 'Destroy User' to delete them. I also built ember inspector as of f4bca8e524a78def35f9c13bdb52aa12e07bfe81 and loaded into Chrome Canary. I feel like I've seen this before in my other app so it could be related to the number of models or other factors. But we do need a solid reproduction to do anything so closing this issue seems appropriate.

ghost avatar Jul 26 '19 17:07 ghost