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

Error with update and delete new created item #53

Open
zohon opened this issue Sep 28, 2015 · 0 comments
Open

Error with update and delete new created item #53

zohon opened this issue Sep 28, 2015 · 0 comments

Comments

@zohon
Copy link

zohon commented Sep 28, 2015

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 ?

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