-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!
-
You're running version >=1.0.23 of Parse Dashboard.
-
You're running version >=2.3.2 of Parse Server.
-
You've searched through existing issues. Chances are that your issue has been reported or resolved before.
Environment Setup
- Parse Server v2.5.3 on AWS EB
- NodeJS v4.2.0 (also tested on NodeJS v3.3.1)
- Parse Dashboard v1.1.0
- mongod version: 3.2.14 (MMAPv1) on MLAB
- Safari 10.1.1 on MacOS 10.12.5
Steps to reproduce
In cloud code, I'm storing data in the __User table as an array of pointers with a createdDate like this:
var newsPointer = {"__type":"Pointer","className":"News","objectId":"5hRuMhTxFz"}; var todayNow = new Date(); var userEvent = { "news": newsPointer, "createdAt": todayNow }; userObject.add("newsEvents", userEvent);
1. This saves the data as expected when viewed in MLAB, or another raw data viewer:
2. Then if viewed in Parse-Dashboard, the data appears in this format (no longer a pointer)

3. If you then double click the cell data in "newsEvents", the data will be saved in that incorrect, modified format (screenshot taken with Parser app, after viewing the cell data in Parse-Dashboard):
I can reproduce the above every time using Parse-Dashboard. To make things worse, intermittently the "news" data is shown as the whole object (showing all fields/data in the "news", where I expect to see the pointer data only).
Logs/Trace
Note: If you get a browser JS error please run npm run dev. This will provide source maps and a much more useful stack trace.