ucdavis / ucdavis/ipa-client-angular

CourseView: Cannot read property 'census' of undefined

Open
#1,442 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.