-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
or queries with 2 relation queries (same one, just different conditions) returns 0 objects #1259
Comments
I wrote a regression test for this behaviour in #1286 that tries to reproduce the behaviour, and the test passes. If you are consistently seeing this issue, can you look at that PR, maybe make a modification that makes the test fail, and open a new issue with that modification? |
OK, I've checked this deeply, the issues is in the iOS SDK v1.12, which sets the parseClassName property of the or query to the class which where the relation itself stored, it should be fixed so it will be the class of the relation. |
Actually the issues is that in parse-server, the SDK doesn't gets the target class of an relation column, how that can be fixed? |
OK, never mind, I'll open a another issue for that... |
* Adds passing tests * Better containsAll implementation * Full Geopoint support, fix inverted lat/lng * Adds support for $and operator / PointerPermissions specs * Fix issue updating CLPs on schema * Extends query support * Adds RestCreate to the specs * Adds User specs * Adds error handlers for failing tests * nits * Proper JSON update of AuthData * fix for #1259 with PG * Fix for Installations _PushStatus test * Adds support for GlobalConfig * Enables relations tests * Exclude spec as legacy * Makes corner case for 1 in GlobalConfig
For implementation related questions or technical support, please refer to the Stack Overflow and Server Fault communities.
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!
Or queries with 2 relation queries (same one, just different conditions) returns 0 objects.
if i run one of the queries alone, i get the objects, so its a issue on the logics somewhere.
Environment Setup
AWS elastic beanstalk
Server v2.2.2
Steps to reproduce
Logs/Trace
None
The text was updated successfully, but these errors were encountered: