angularfire icon indicating copy to clipboard operation
angularfire copied to clipboard

$firebaseArray and v1.1.0

Open albertosantini opened this issue 11 years ago • 5 comments

I have the following data structure:

subscribers: { 
    0: {
        id: 18, 
        name: "foo"
    }, 
   1: {
        id: 19, 
        name: "bar"
    } 
}

I have been using the following code:

subscribersSync = $firebaseArray(ref); 
subscribersSync.$loaded().then(function (subscribers) {
    // subscribers has zero length
    ...

With 1.0.0 it is ok, subscribers has length equals to two. With 1.1.0 subscribers has zero length.

Any hint?

albertosantini avatar May 04 '15 21:05 albertosantini

Thanks for reporting this bug! @katowulf just made a fix with PR #618. We will get a 1.1.1 release with this fix out shortly.

jwngr avatar May 05 '15 05:05 jwngr

@jwngr Any idea how long we're looking at for release?

tobysteward avatar May 05 '15 08:05 tobysteward

@tobysteward - I just released 1.1.1 (see tweet). Just needed to wake up first! Let us know if you still run into any issues!

jwngr avatar May 05 '15 15:05 jwngr

@jwngr excellent, everything seems fine now! Thanks for getting the update out so quickly :)

tobysteward avatar May 05 '15 16:05 tobysteward

Here it works nice. :) Thanks for the super fast fix.

albertosantini avatar May 05 '15 16:05 albertosantini