parse-dashboard icon indicating copy to clipboard operation
parse-dashboard copied to clipboard

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

Open mtrezza opened this issue 1 year ago • 5 comments

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

mtrezza avatar Sep 19 '24 01:09 mtrezza

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

Is this issue still open?

mihir2004 avatar Oct 06 '24 21:10 mihir2004

@mihir2004 it is up for grabs, would you be interested?

mtrezza avatar Oct 06 '24 23:10 mtrezza

@mtrezza I would like to give it a try could you please assign this to me

mihir2004 avatar Oct 07 '24 07:10 mihir2004

You just assigned it to yourself :-) There is no official assignment process. As long as there is an ongoing PR with reasonably frequent updates, it should be clear to others that this is being worked on. See also the Parse Bounty Program.

mtrezza avatar Oct 07 '24 14:10 mtrezza