parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

Problem saving a list of pointers on Server

Open gbrmachado opened this issue 10 years ago • 2 comments

Hello. I've created an app using parse and mongolab. I've been trying to save an object containing a list of others Parse Objects on my server, like that: var Obj = new Parse.Object.extend("Obj") var Obj2 = new Parse.Object.extend("Obj2") var obj2 = new Obj({foo:bar}) var obj = new Obj({ property: [obj2] }) . It works fine on the first time, however, when I try to create a second obj2, the Parse doesn't save anything in my DB, and it doesn't show any message of error. I tried it both in my local server and using mLab.

I can see the property on parse-dashboard, it is showed like that: [{"__type":"Pointer","className":"Foo","objectId":"B18qiuG3oG"}]

Is it the expected behavior, or is it a bug??

Thanks.

gbrmachado avatar Jul 06 '16 03:07 gbrmachado

Would you be able to provide the exact code you're using?

flovilmart avatar Jul 06 '16 03:07 flovilmart

We're closing this issue due to inactivity.

If this is a bug you care about that is not getting attention, consider opening a pull request with a fix.

hramos avatar Sep 06 '16 20:09 hramos