8000 "Cannot read property 'url' of undefined" error when using a scroll ref as master in NormalizedCollection · Issue #76 · googlearchive/firebase-util · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jan 12, 2019. It is now read-only.

"Cannot read property 'url' of undefined" error when using a scroll ref as master in NormalizedCollection #76

Open
mmta opened this issue Nov 15, 2015 · 0 comments

Comments

@mmta
Copy link
mmta commented Nov 15, 2015

This http://plnkr.co/edit/MtMBcfQAbXn64inYHaC6

Throws an Uncaught TypeError: Cannot read property 'url' of undefined warning and error in the console whenever I click the "Scroll 1" button.

I'm not sure if this is an issue with the library or the way I'm using it as in the plunker example, but other than those warning & error, the data is received in correct descending order as intended.

Here's the data export for the above plunker:

{
  "data" : {
    "T1" : {
      "field1" : "ABC1",
      "field2" : "ABC2"
    },
    "T2" : {
      "field1" : "DEF1",
      "field2" : "DEF2"
    },
    "T3" : {
      "field1" : "GHI1",
      "field2" : "GHI2"
    },
    "T4" : {
      "field1" : "JKL1",
      "field2" : "JKL2"
    }
  },
  "index" : {
    "T1" : -1,
    "T2" : -2,
    "T3" : -3,
    "T4" : -4
  }
}

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0