Skip to content

matchesQuery on relation query always finds zero objects #1014

@jgaull

Description

@jgaull

Environment Setup

parse-server 2.1.6, Heroku, MongoLab, iOS SDK 1.12.0

Steps to reproduce

var relationQuery = object.relation("relationKey").query();
var anotherQuery = new Parse.Query(Class);
anotherQuery.matchesQuery("key", relationQuery);
anotherQuery.find(); //Always finds 0 objects

This works correctly in hosted Parse. I also manually double-checked the db and can confirm this should find more than zero objects.

Logs/Trace

This error is showing up on the iOS side. May or may not be related:
[Error]: Response status code was unacceptable: 403 (Code: 1, Version: 1.12.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions