Skip to content

Filter with authData "key does not exist" shows incorrect results #2600

Open
@mtrezza

Description

@mtrezza

New Issue Checklist

Issue Description

When setting a data browser filter on field authData, condition key does not exist, value facebook, it shows records that contain auth data with key facebook, but with the authData field empty. That means, not only does it show the records even though it should not show them, the record itself is incorrect as it has an empty authData field which is not the case.

Steps to reproduce

Given the following records in _User:

  • objectId: a, authData: (empty)
  • objectId: b, authData: { 'facebook': ...}

Filter condition key does not exist, value facebook shows:

  • objectId: a, authData: (empty)
  • objectId: b, authData: (empty)

but it should show:

  • objectId: a, authData: (empty)

Environment

Dashboard

  • Parse Dashboard version: 6.0.0-alpha.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty:$10Bounty applies for fixing this issue (Parse Bounty Program)type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions