Skip to content
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

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

Open
4 tasks done
mtrezza opened this issue Sep 19, 2024 · 5 comments
Open
4 tasks done

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

mtrezza opened this issue Sep 19, 2024 · 5 comments
Labels
bounty:$10 Bounty applies for fixing this issue (Parse Bounty Program) type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@mtrezza
Copy link
Member

mtrezza commented Sep 19, 2024

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
Copy link

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.

@mtrezza mtrezza added type:bug Impaired feature or lacking behavior that is likely assumed bounty:$10 Bounty applies for fixing this issue (Parse Bounty Program) labels Sep 19, 2024
@mihir2004
Copy link

Is this issue still open?

@mtrezza
Copy link
Member Author

mtrezza commented Oct 6, 2024

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

@mihir2004
Copy link

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

@mtrezza
Copy link
Member Author

mtrezza commented Oct 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty:$10 Bounty applies for fixing this issue (Parse Bounty Program) type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

No branches or pull requests

2 participants