-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Description
Hello,
I have a route with deactivate event. Inside this event, I have
some calls to this.store.unloadAll('model');
When I try to move on a new route (which fetch some of unloaded
models from the server) it's break with this error:
Error while processing route: proposal.index Property set failed: object in path "isUpdating" could not be found or was destroyed. Error: Property set failed: object in path "isUpdating" could not be found or was destroyed.
Stack trace:
at new Error (native) at Error.EmberError (http://localhost:4200/assets/vendor.js:22563:21) at setPath (http://localhost:4200/assets/vendor.js:26389:15) at set (http://localhost:4200/assets/vendor.js:26301:14) at ember$data$lib$system$store$$Service.extend.didUpdateAll (http://localhost:4200/assets/vendor.js:70729:9) at http://localhost:4200/assets/vendor.js:65396:15 at tryCatch (http://localhost:4200/assets/vendor.js:57486:16) at invokeCallback (http://localhost:4200/assets/vendor.js:57498:17) at publish (http://localhost:4200/assets/vendor.js:57469:11) at http://localhost:4200/assets/vendor.js:37788:7
Edit: There is a very strange fix. If I open Ember Inspect and click on Data, and then
try to move between those routes. The problem is gone.
Edit: This bug not happens every time.