ucdavis / ucdavis/ipa-client-angular
CourseView: Cannot read property 'census' of undefined
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
URL: https://ipa.ucdavis.edu/courses/64/2018 User: McCarthy, Caitlyn Kerberos: caitmcca Full Error: Cannot read property 'census' of undefined Stack: TypeError: Cannot read property 'census' of undefined at https://ipa.ucdavis.edu/js/courseApp.js?rel=1510259909729:6:17576 at Scope.$emit (https://ipa.ucdavis.edu/js/lib.js:14:21554) at Object.reduce (https://ipa.ucdavis.edu/js/courseApp.js?rel=1510259909729:8:13671) at courseService.deleteMultipleCourses.then.$rootScope.$emit.message (https://ipa.ucdavis.edu/js/courseApp.js?rel=1510259909729:7:17584) at processQueue (https://ipa.ucdavis.edu/js/lib.js:14:6272) at https://ipa.ucdavis.edu/js/lib.js:14:6539 at Scope.$eval (https://ipa.ucdavis.edu/js/lib.js:14:19946) at Scope.$digest (https://ipa.ucdavis.edu/js/lib.js:14:17635) at Scope.$apply (https://ipa.ucdavis.edu/js/lib.js:14:20372) at https://ipa.ucdavis.edu/js/lib.js:14:13034
Contributor guide
No contributing guide indexed for this repository
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 by reproducing the error at https://ipa.ucdavis.edu/courses/64/2018 and inspect the stack locations in js/courseApp.js and js/lib.js. Trace courseService.deleteMultipleCourses and the reduce callback where census is accessed. Done means the course view no longer throws when that value is undefined, with the reported page behavior verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angularjs, javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100