Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Store] recordArrayManager._keyedArrays is undefined #8515

Closed
Jopie01 opened this issue Mar 29, 2023 · 0 comments · Fixed by #8517
Closed

[Store] recordArrayManager._keyedArrays is undefined #8515

Jopie01 opened this issue Mar 29, 2023 · 0 comments · Fixed by #8517
Labels
🏷️ bug This PR primarily fixes a reported issue

Comments

@Jopie01
Copy link

Jopie01 commented Mar 29, 2023

This is on alpha.14.
After fetching the data it goes through the Cache but errors out on

Uncaught (in promise) TypeError: recordArrayManager._keyedArrays is undefined

Looking through the code it seems that _keyedArray is not defined in the constructor`. See

Manually adding this._keyedArrays = new Map(); to the constructor fixes this problem but I don't know if this is the right way.

For me though I got around 😃 I did a this.store.findAll('model') and got finally my data from the store 🎉.

@runspired runspired added the Bug label Mar 30, 2023
@runspired runspired added 🏷️ bug This PR primarily fixes a reported issue and removed Bug labels Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bug This PR primarily fixes a reported issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants