-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Array of Pointers issue with displaying data #105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
That looks like pointer is getting inflated into an object at some point, when it shouldn't be. This might be an issue with Parse Server. Can check the console and show the response to the classes/_User request? I want to to determine if the server is inflating when it shouldn't or if the dashboard is doing the inflation. |
That does look like an issue. Does it happen with all arrays of pointers, only arrays of pointers to users, or only to this specific column? A short script or set of steps that reproduces the issue would be very helpful in finding the root cause. |
@drew-gross well its in swift in our iOS app.. I can paste the function.. but I would assume doing this in php or js wouldnt be to hard.. Loop though 3 existing users and add them as an array of pointers.. granted we get all the other users data in the browser, their access token, etc.. as you can see above.. thoughts? |
OK, I've managed to reproduce the issue. This does seem to be an issue with the dashboard, and not the server. I'll look into a fix. |
👍 |
Fix issues with arrays contiaining null or pointers to users. Fixes #105.
I can confirm this is fixed on my end.. thanks. |
fix: Remove autoplay from video tutorial
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!
Environment Setup
OSX Dashboard
Steps to reproduce
In the old version of the Parse Server we are saving a array of pointers to facebook friends.. something similar to this:
[{"__type":"Pointer","className":"_User","objectId":"eLNmQ8vx39"},{"__type":"Pointer","className":"_User","objectId":"WCCx0rNaki"}]
When you look at it in the new dashboard it has a bunch of extraneous data, basically all the info from the users in the array instead of a nice array listed above.
Data in New Dashboard for that same column.
Old Dashboard
EDIT: Checked MongoLab (Mlab) to view the data in the database here is the raw data
Logs/Trace
The text was updated successfully, but these errors were encountered: