Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Scores" Page for Course Management is not displayed #10310

Open
rabeatwork opened this issue Feb 11, 2025 · 4 comments · May be fixed by #10401
Open

"Scores" Page for Course Management is not displayed #10310

rabeatwork opened this issue Feb 11, 2025 · 4 comments · May be fixed by #10401
Labels
assessment Pull requests that affect the corresponding module bug exercise Pull requests that affect the corresponding module lecture Pull requests that affect the corresponding module priority:high

Comments

@rabeatwork
Copy link
Contributor

rabeatwork commented Feb 11, 2025

Describe the bug

The "Scores" page is not displayed. The console throws an error (see below). I should be able to see the Scores page.

To Reproduce

  1. Log in as instructor
  2. Go to 'Course Management'
  3. Click on 'Scores'
  4. See error (don't see scores)

The error occurs when the course contains team participations, and when these team participations do not contain any team members.

Expected behavior

I should be able to see the Scores page.

Screenshots

Image Image

Which version of Artemis are you seeing the problem on?

7.9.1

What browsers are you seeing the problem on?

Chrome

Additional context

No response

Relevant log output

ERROR TypeError: n is not iterable
    at r.mapStudentIdToStudentStatistics (course-scores.component.ts:486:48)
    at r.calculateStudentLevelStatistics (course-scores.component.ts:410:34)
    at Object.next (course-scores.component.ts:284:18)
@rabeatwork rabeatwork added the bug label Feb 11, 2025
@github-actions github-actions bot added assessment Pull requests that affect the corresponding module exercise Pull requests that affect the corresponding module lecture Pull requests that affect the corresponding module labels Feb 11, 2025
@Santia-go
Copy link
Contributor

@krusche Is there any update about it? I would like to publish the grades this week before everyone (including professors)goes on vacation.

@krusche
Copy link
Member

krusche commented Feb 24, 2025

we will fix it asap

@SimonEntholzer SimonEntholzer linked a pull request Feb 24, 2025 that will close this issue
12 tasks
@krusche
Copy link
Member

krusche commented Feb 24, 2025

This only occurs if there is an "empty" team without students which has previously started the exercise and created a participation. As a temporary workaround, you can delete the team

@MarkusPaulsen
Copy link
Contributor

MarkusPaulsen commented Feb 25, 2025

Please consider significantly reducing the response size for https://artemis.tum.de/api/courses/<course-number>/participations, either in this pull request or in a follow-up one, as some courses currently return payloads exceeding 70 MB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assessment Pull requests that affect the corresponding module bug exercise Pull requests that affect the corresponding module lecture Pull requests that affect the corresponding module priority:high
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants