Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Error with update and delete new created item #53

@zohon

Description

@zohon

i have done test with https://noteplaces.firebaseio.com/

and i can edit and delete element if they are loaded form firebase but when i create a new one i cannot edit it or delete it unless i reload the page.

it work when i add it with :

var ref = new Firebase('https://noteplaces.firebaseio.com/');
ref.push({
label: "New place",
});

but not with :

this.push('places', {
label: "New place",
});

this is the first error i get when i try to edit after the creation :

Uncaught Error: Firebase.child failed: First argument was an invalid path: "undefined". Paths must be non-empty strings and can't contain ".", "#", "$", "[", or "]" firebase-debug.js:8749

and when i try again i got this one :

Uncaught Error: Firebase.child failed: First argument was an invalid path: "null". Paths must be non-empty strings and can't contain ".", "#", "$", "[", or "]" firebase-debug.js:8749

i think i lost the link with firebase for my item but i cannot see where is it an error from my firebase ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions