Uncaught TypeError: Cannot read properties of undefined (reading 'aDataSort')
- Dominant language
- Python
- Stars
- 30
- Forks
- 3
- Avg merge
- 9h 28m
- Merged PRs (30d)
- 42
Description
View details in Rollbar: [https://app.rollbar.com/a/jimmy.andrews/fix/item/VariantGrid/6165](https://app.rollbar.com/a/jimmy.andrews/fix/item/VariantGrid/6165)
```
TypeError: Cannot read properties of undefined (reading 'aDataSort')
File "https://shariant.org.au/static/js/lib/datatables/datatables.min.3549c36b1bca.js", line 16, in I
File "https://shariant.org.au/static/js/lib/datatables/datatables.min.3549c36b1bca.js", line 16, in ce
File "https://shariant.org.au/static/js/lib/datatables/datatables.min.3549c36b1bca.js", line 16, in t
File "https://shariant.org.au/static/js/lib/datatables/datatables.min.3549c36b1bca.js", line 16, in HTMLTableElement.
File "https://shariant.org.au/static/js/lib/jquery-3.3.1/jquery-3.3.1.min.a09e13ee94d5.js", line 2, in w.each
File "https://shariant.org.au/static/js/lib/jquery-3.3.1/jquery-3.3.1.min.a09e13ee94d5.js", line 2, in w.fn.init.each
File "https://shariant.org.au/static/js/lib/datatables/datatables.min.3549c36b1bca.js", line 16, in w.fn.init.C [as dataTable]
File "https://shariant.org.au/static/js/lib/datatables/datatables.min.3549c36b1bca.js", line 16, in P.fn.DataTable
File "https://shariant.org.au/classification/classifications", line 45, in filterGrid
File "https://shariant.org.au/classification/classifications", line 152, in HTMLSelectElement.
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the filterGrid entry point on classification/classifications, then inspect the DataTables setup associated with the classifications page. Reproduce the Rollbar TypeError while loading or filtering the grid and verify that the page no longer throws the aDataSort error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, jquery
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100