LambdaIITH/AIMS-Helper-Chrome

[Regression] TypeErrors while calculating GPA Report

Closed this issue · 0 comments

Bug Description

The GPA Background script encounters errors while attempting to retrieve data from the DOM.

Due to elements being undefined, the following type Error is thrown:
Uncaught TypeError: Cannot read property 'trim' of undefined

To Reproduce
Steps to reproduce the behaviour:

  1. Install the extension from git. run npm install
  2. Open the required AIMS View Courses page
  3. Click on Calculate GPA
  4. Open Console and See the Type Errors.

Observed behaviour
GPA spinner keeps on loading.
On navigating to chrome://extensions, it shows uncaught type errors

Expected Behaviour
GPA Report Opens.

Screenshots
image

Desktop information:

  • OS: Ubuntu 20.04
  • Browser : Chrome
  • Browser Version: 86.0.4240.75 (Official Build) (64-bit)
  • Extension Version: Commit ab6c20a