parse-community / parse-community/parse-dashboard

Crash on filter `unique` for pointer

Open
#2,657 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

state:released state:released-alpha type:bug
Dominant language
JavaScript
Stars
3.8k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

New Issue Checklist
Issue Description

Dashboard crashes when setting a filter unique for a field of type Pointer.

Steps to reproduce
  1. Open class with Pointer field in data browser.
  2. Set filter unique on Pointer field.
  3. Dashboard crashes.
Environment

Dashboard

  • Parse Dashboard version: 6.0.0-alpha.28
Logs
TypeError: l.get is not a function. (In 'l.get("username")', 'l.get' is undefined)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the data browser's filter handling and reproduce the crash with a Pointer field using the unique filter. Trace the reported l.get("username") error and verify that applying this filter no longer crashes the Dashboard.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.