-
-
Notifications
You must be signed in to change notification settings - Fork 344
firestore subscription throwing error on change #944
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
Comments
In bindCollection(_a, extraOptions) I am seeing that _a.newIndex == -1 Which means that subs ends up undefined.
|
It seems like it's a problem with the latest firebase.js Here's a repro: |
i'm getting the same issue with the latest versions:
when fetching a collection
|
I moved back to 7. For firestore and it worked
…On Sun, Nov 15, 2020, 9:29 AM Anas KHABALI ***@***.***> wrote:
i'm getting the same issue with the latest versions:
"vuefire": "^2.2.4"
"firebase": "^8.0.2",
when fetching a collection
vuefire.esm.js?0ff2:186 Uncaught TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at extractRefs (vuefire.esm.js?0ff2:186)
at Object.added (vuefire.esm.js?0ff2:354)
at eval (vuefire.esm.js?0ff2:412)
at Array.forEach (<anonymous>)
at Array.eval (vuefire.esm.js?0ff2:411)
at next (index.esm.js?c6c5:16645)
at eval (index.esm.js?c6c5:13404)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#944 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAADZEFPOVRXFBTOT5QYGETSQAFY7ANCNFSM4TV5Q33A>
.
|
I haven't been able to look at this yet. Help on reviewing what has broken, if a new major version of vuefire should be released, and reviewing the PR would be appreciated |
Reproduction
Steps to reproduce the behavior
Open page
Expected behavior
show the spectators loaded from firestore.
Actual behavior
It throws an error:
Uncaught TypeError: Cannot convert undefined or null to object
at Function.keys ()
at extractRefs (vuefire.esm.js?0ff2:186)
at Object.added (vuefire.esm.js?0ff2:354)
at eval (vuefire.esm.js?0ff2:412)
at Array.forEach ()
at Array.eval (vuefire.esm.js?0ff2:411)
at next (index.esm.js?c6c5:16645)
at eval (index.esm.js?c6c5:13404)
The text was updated successfully, but these errors were encountered: