TUM-Dev / gocast

TUMs lecture streaming service.
https://live.rbg.tum.de/
MIT License
178 stars 42 forks source link

Statistics: VoD view count broken #1215

Closed chris246 closed 1 month ago

chris246 commented 8 months ago

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