-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
"date" inside an object in object column appears as and will be converted to string after clicking on dashboard #285
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
Yeah, our handling of non-raw-data for inner keys of objects isn't ideal. I'll see what we can do about this. |
Same goes for Date type in Config |
@Silkjaer A bit off topic, but is your dashboard Config working fine? It seems I can only add new params, which is saved successfully, but the Config page appears empty again if I refresh the dashboard. |
It works for me. Can you try using the API console to see if you can see the config? |
@drew-gross Yes, using the API console can get the config.
But the Config page appears empty. |
I fixed the empty Config issue by adding |
Any progress with this? It's causing a crashing bug if I don't tread very carefully. I imagine it could bite a lot of people. |
I would like to add that its not possible by parse-dashboard UI to set a date back to (undefined). would be great if i could remove a date by the dashboard. |
Fixed by #1223 |
I believe this happened in the new dashboard in parse.com, for such reason I didn't use the new dashboard in parse.com. Now I found that it's also happening here with parse-server and parse-dashboard.
Environment Setup
"express": "~4.13.4",
"kerberos": "~0.0.x",
"parse": "^1.8.0",
"parse-server": "~2.2.2",
"parse-dashboard": "~1.0.9"
Heroku
mlab
Steps to reproduce
Step 1.
Create a
object
column in any classStep 2.
Write an object that has
date
in it to this column. Below is the exact copy of one found in our db (mlab).Step 3.
Use the client to get this value. The
startTime
andendTime
are bothdate
object (for now).Step 4.
Go to parse-dashboard and find this value. Note that the date in the object appears as a string instead.
Step 5.
Double click this value to enter edit state, but don't change anything.
Step 6.
Focus somewhere else to exit the edit state.
Step 7.
Go back to mlab, check the value again, it has beome:
Step 8.
Use the client to get this value again, the type of
startTime
andendTime
have both becomestring
.The text was updated successfully, but these errors were encountered: