You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting this error on 3.14 (with ember-data 3.13 and 3.14):
Error: Assertion Failed: You attempted to update [object Object].hasAnyRelationshipData to "true", but it is being tracked by a tracking context, such as a template, computed property, or observer. In order to make sure the context updates properly, you must invalidate the property when updating it. You can mark the property as `@tracked`, or use `@ember/object#set` to do this.
at assert (index.js:172)
at ManyRelationship.set [as hasAnyRelationshipData] (index.js:790)
at ManyRelationship.setHasAnyRelationshipData (-private.js:10663)
at ManyRelationship.updateRecordDatasFromAdapter (-private.js:10652)
at ManyRelationship.updateData (-private.js:10999)
at ManyRelationship.push (-private.js:10704)
at RecordDataDefault._setupRelationships (-private.js:11532)
at RecordDataDefault.didCommit (-private.js:11629)
at InternalModel.adapterDidCommit (-private.js:5961)
at Store.didSaveRecord (-private.js:14140)
Not tracking the changes on the model fixes it, so it is related to the tracking itself. This happens after a successful save as you can see, when the data is reloaded.
The text was updated successfully, but these errors were encountered:
Hello,
I am getting this error on 3.14 (with ember-data 3.13 and 3.14):
Not tracking the changes on the model fixes it, so it is related to the tracking itself. This happens after a successful save as you can see, when the data is reloaded.
The text was updated successfully, but these errors were encountered: