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

Statistics: VoD view count broken #1215

Closed
chris246 opened this issue Oct 25, 2023 · 0 comments · Fixed by #1358
Closed

Statistics: VoD view count broken #1215

chris246 opened this issue Oct 25, 2023 · 0 comments · Fixed by #1358
Assignees

Comments

@chris246
Copy link

Describe the bug
Instead of the VoD view count, a loading indicator is shown.

The server replies with an error 500:

{
  "error": "sql: Scan error on column index 0, name \"SUM(stats.viewers)\": converting NULL to int is unsupported",
  "message": "can not getcourse num vod views",
  "status": 500
}

To Reproduce
E.g. course 892: https://live.rbg.tum.de/admin/course/892/stats

@karjo24 karjo24 self-assigned this Jun 5, 2024
SebiWrn added a commit that referenced this issue Jun 12, 2024
)

* null check in sql preventing null to int conversion error (#1215)

* go mod tidy

* Revert "go mod tidy"

This reverts commit 94986fc.

* Fixed golangci

* Fixed golangci

* Fixed golangci

* Reverted changes

---------

Co-authored-by: johanneskarrer <ge87zim@mytum.de>
Co-authored-by: Sebastian <sebiwrn@web.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants