parse-community / parse-community/parse-dashboard
Crash on filter `unique` for pointer
Open
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
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest versions of Parse Server and Parse Dashboard.
Issue Description
Dashboard crashes when setting a filter unique for a field of type Pointer.
Steps to reproduce
- Open class with Pointer field in data browser.
- Set filter
uniqueon Pointer field. - 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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