You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@drew-gross I verified I am running:
parse-dashboard 2.1.6 dashboard
parser-server-example 1.4.0 which uses
parse-server ~2.2.2. I still do not see a password column on the User table in parse-dashboard. Any ideas? Thanks.
Can you show me the response to the schemas endpoint, and also show if there are any errors in the Javascript console? Also, the most recent version of the dashboard is 1.0.8, so I think you might be confused about which version you are running.
@drew-gross You're right, I was on 1.07 of dashboard. I have moved to 1.0.8 now, no password column still though. Looking at the _SCHEMA for _User, I don't see the _hashed_password field mentioned, however it does show up in each _User document. See gist here. I'm going to try running a migration again, maybe there was an error moving the schema over?
_hashed_password isn't supposed to show up in the _SCHEMA. I'm looking for the response to the schemas endpoint though. Just head to the API Console, use schemas as your endpoint, make sure to use the master key, and show me what you get. Also can you check the JavaScript console in your browser for errors?
@drew-gross
Gotcha, here is the schemas output from API Console
As far as js console, I only see a warning when I view the User collection: dashboard.bundle.js:19129 Warning: AppsSelector is accessing getDOMNode or findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.
Can you try clearing out your localstorage? We store column ordering and width in localstorage and if it got screwed up somehow that might cause this problem.
@drew-gross
Cleared local storage and even tried it in a couple browsers where I had never run dashboard previously, no luck. After reloading dashboard and viewing User, my local storage for that page is: [{"name":"objectId","width":150},{"name":"sharePhotos","width":150},{"name":"emailVerified","width":150},{"name":"ACL","width":150},{"name":"freeVersion","width":150},{"name":"updatedAt","width":150},{"name":"freeUpgraded","width":150},{"name":"username","width":150},{"name":"petSortType","width":150},{"name":"createdAt","width":150},{"name":"email","width":150}]
Compared to parse.com's dashboard, it appears that the local storage for parse-dashbord differs by the 'authData' and 'password' fields being missing. API Console output for schemas looks the same for _User between the two.
Unfortunately I can't reproduce this issue :( are you comfortable with JavaScript and React? Would you be willing to install from source and investigate this bug? The list of columns is built up in Browser.react.js in the function renderContent. Alternatively, if you can message me with a URL that I can access your browser at (with different apps/master keys obviously) then I might be able to help.
=( I could try, right now I'm trying to get the dashboard up pointed at a debug copy of the app server. So maybe you could go there to see the issue. It appears to be deploying ok but won't load due to a JavaScript error Uncaught SyntaxError: Unexpected token < dashboard.bundle.js:1
Essentially, your _SCHEMA collection doesn't contain the password field. It shouldn't be necessary to for it to be there - Parse.com works without the password field being in the schema, so Parse Server should too.
Activity
drew-gross commentedon Apr 5, 2016
I see a password column on my dashboard. Can you make sure your Server and Dashboard versions are both up to date an check again?
barnaclejive commentedon Apr 6, 2016
@drew-gross I verified I am running:

parse-dashboard 2.1.6 dashboard
parser-server-example 1.4.0 which uses
parse-server ~2.2.2. I still do not see a password column on the User table in parse-dashboard. Any ideas? Thanks.
drew-gross commentedon Apr 6, 2016
Can you show me the response to the
schemasendpoint, and also show if there are any errors in the Javascript console? Also, the most recent version of the dashboard is 1.0.8, so I think you might be confused about which version you are running.barnaclejive commentedon Apr 6, 2016
@drew-gross You're right, I was on 1.07 of dashboard. I have moved to 1.0.8 now, no password column still though. Looking at the _SCHEMA for _User, I don't see the _hashed_password field mentioned, however it does show up in each _User document. See gist here. I'm going to try running a migration again, maybe there was an error moving the schema over?
drew-gross commentedon Apr 6, 2016
_hashed_password isn't supposed to show up in the _SCHEMA. I'm looking for the response to the
schemasendpoint though. Just head to the API Console, useschemasas your endpoint, make sure to use the master key, and show me what you get. Also can you check the JavaScript console in your browser for errors?barnaclejive commentedon Apr 6, 2016
@drew-gross
Gotcha, here is the
schemasoutput from API ConsoleAs far as js console, I only see a warning when I view the User collection:
dashboard.bundle.js:19129 Warning: AppsSelector is accessing getDOMNode or findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.drew-gross commentedon Apr 6, 2016
Can you try clearing out your localstorage? We store column ordering and width in localstorage and if it got screwed up somehow that might cause this problem.
barnaclejive commentedon Apr 6, 2016
@drew-gross
Cleared local storage and even tried it in a couple browsers where I had never run dashboard previously, no luck. After reloading dashboard and viewing User, my local storage for that page is:
[{"name":"objectId","width":150},{"name":"sharePhotos","width":150},{"name":"emailVerified","width":150},{"name":"ACL","width":150},{"name":"freeVersion","width":150},{"name":"updatedAt","width":150},{"name":"freeUpgraded","width":150},{"name":"username","width":150},{"name":"petSortType","width":150},{"name":"createdAt","width":150},{"name":"email","width":150}]barnaclejive commentedon Apr 6, 2016
Compared to parse.com's dashboard, it appears that the local storage for parse-dashbord differs by the 'authData' and 'password' fields being missing. API Console output for schemas looks the same for _User between the two.
drew-gross commentedon Apr 6, 2016
Unfortunately I can't reproduce this issue :( are you comfortable with JavaScript and React? Would you be willing to install from source and investigate this bug? The list of columns is built up in
Browser.react.jsin the functionrenderContent. Alternatively, if you can message me with a URL that I can access your browser at (with different apps/master keys obviously) then I might be able to help.barnaclejive commentedon Apr 6, 2016
=( I could try, right now I'm trying to get the dashboard up pointed at a debug copy of the app server. So maybe you could go there to see the issue. It appears to be deploying ok but won't load due to a JavaScript error
Uncaught SyntaxError: Unexpected token < dashboard.bundle.js:1drew-gross commentedon Apr 6, 2016
I've traced the issue to a problem in Parse Server. I'll close this and open a new issue over there.
drew-gross commentedon Apr 6, 2016
Essentially, your _SCHEMA collection doesn't contain the
passwordfield. It shouldn't be necessary to for it to be there - Parse.com works without thepasswordfield being in the schema, so Parse Server should too.barnaclejive commentedon Apr 6, 2016
Thanks @drew-gross, I'll track the issue over on parser-server.