Skip to content
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

Queries on Relations don't seem to be working #782

Closed
sprabs opened this issue Mar 3, 2016 · 8 comments
Closed

Queries on Relations don't seem to be working #782

sprabs opened this issue Mar 3, 2016 · 8 comments

Comments

@sprabs
Copy link

sprabs commented Mar 3, 2016

I am seeing this error message: Uncaught internal server error. [TypeError: Cannot read property 'query' of undefined] TypeError: Cannot read property 'query' of undefined

My code is querying a relation. It doesn't seem to like this. We query relations a lot. Is this a bug with parse-server or is there some modifications that I need to make in order to get this to work? I have not been able to find any information about relations in the migration guides.

@nathan-savvy
Copy link

#550 and #432 have similar issues. You may try the fix indicated there.

@sprabs
Copy link
Author

sprabs commented Mar 3, 2016

Looks like #769 has a potential fix for this. Will it be merged in to the main branch soon?

@flovilmart
Copy link
Contributor

Just been merged feel free to test!

@sprabs
Copy link
Author

sprabs commented Mar 3, 2016

@flovilmart Thank you--will do! Do you have a best practices on how to update our parse-server code? I am running this on Elastic Beanstalk.

@flovilmart
Copy link
Contributor

It all depends on you installation, you can point your dependency to parseplatform/parse-sever in package.json and then run npm install.

@flovilmart
Copy link
Contributor

@sprabs can you give the stack trace with the error?

@flovilmart
Copy link
Contributor

Not much activity there, I will assume given the thread that parse-sever 2.1.5 has the proper fix

@RafaRuiz
Copy link

I'm still getting this randomly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants