Skip to content

Manage Submissions cannot view score details when tweak added #2279

@coder6583

Description

@coder6583

Your environment
Local environment on master

Steps To Reproduce
Steps to reproduce the behavior:

  1. Go to gradesheet of an autograded assessment
  2. Click on tweak
  3. Edit tweak value and save
  4. Go to manage submissions
  5. Click on the score details button on the submission that you editted
  6. See the error

Current behavior
Error comes up:
TypeError: Cannot read properties of null (reading 'toFixed')
Image

Expected behavior
Should be able to view score details

Problem
On line 165 of manage_submissions.js, the data.scores[submission.id]?.[problem.id]?.['score'] seems to be null.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions