ucdavis / ucdavis/ipa-client-angular

CoursesView: census is undefined when mass deleting courses

Open
#1,417 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

Kerberos: cthielen

Full Error: undefined is not an object (evaluating 'course.census')

Stack: http://localhost:9000/js/courseApp.js?rel=1510171926900:1984:15
$emit@http://localhost:9000/js/lib.js:27747:38
reduce@http://localhost:9000/js/courseApp.js?rel=1510171926900:4441:20
http://localhost:9000/js/courseApp.js?rel=1510171926900:3280:30
processQueue@http://localhost:9000/js/lib.js:26198:30
http://localhost:9000/js/lib.js:26214:39
$digest@http://localhost:9000/js/lib.js:27310:36
$apply@http://localhost:9000/js/lib.js:27605:31
http://localhost:9000/js/lib.js:27903:28
completeOutstandingRequest@http://localhost:9000/js/lib.js:15779:15
http://localhost:9000/js/lib.js:16058:33
2017-11-08 12:14:18,853 [http-nio-8080-exec-3] INFO e.u.dss.ipa.utilities.EmailService - ConsoleEmailService will 'fake' e-mail send by design.
Subject: JS Exception: undefined is not an object (evaluating 'course.isSeries')
2017-11-08 12:14:18,853 [http-nio-8080-exec-4] INFO e.u.dss.ipa.utilities.EmailService - ConsoleEmailService will 'fake' e-mail send by design.
Subject: JS Exception: undefined is not an object (evaluating 'course.census')

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 at courseApp.js line 1984, using the reported stack trace, and inspect the CoursesView flow for mass deletion. Reproduce the deletion and trace which course becomes undefined before census or isSeries is accessed; done means mass deletion completes without either JavaScript exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
angularjs, 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.