Skip to content

Pointers leading to empty objects will stop the queries and show results #754

Description

@taufiq-husain

I'm using Swift and I had a reference of an object (Pointer Relation). When I queried for the rows of the parent object using includeKey, it returned all objects but the child object didn't indicate a nil object (as it used to in the usual Parse). In this open source server, it seems that object returns even when there isn't any object available but the code breaks when you try to access that child object. I used a little hack by basically checking if the createdAt attribute (which is available for all objects) is nil or not.

I don't know where the issue arises exactly but I'm fairly sure the code breaks in the iOS SDK and probably in other SDKs too. Just letting you guys know that if you see empty results when only one row's child object is pointing to a deleted object doesn't really mean that ALL rows are empty. Something in the SDK is definitely messing up.

Activity

  1. flovilmart commented on Mar 7, 2016

    @flovilmart
    Contributor

    That should be fixed by now by #777

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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