TUM-Dev / gocast

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

A pinned course that is no longer public cannot be unpinned. #1351

Open DominikRemo opened 2 months ago

DominikRemo commented 2 months ago

Bug A pinned course that is no longer public cannot be unpinned.

To Reproduce Steps to reproduce the behavior:

  1. Pin any course. The course is now listed in pinned courses
  2. Delete or make the course private (I'm not sure if the course was deleted or set to private)
  3. As a user, you cannot access the course. Therefor, you can also not unpin the course.

Expected behavior Either remove unaccessible courses automatically from the pinned list or enable the user to unpin courses without accessing the course page.

Desktop:

SebiWrn commented 2 months ago

Can't replicate this behaviour, can you please describe it a bit further or add screenshots to your problem?

DominikRemo commented 2 months ago

The video shows that I cannot access the "Fortgeschrittene Themen des Softwaretests (IN2084)" course. It is still listed under pinned courses, but when I try to access it I am redirected to the home page. I can still access other courses and pin/unpin them.

https://github.com/TUM-Dev/gocast/assets/47261058/736b15a3-5b6d-4019-be8e-d5ec74698c52

EDIT: Unfortunately I don't really know how to reproduce this problem as I don't know what happened to the course.