In case a course has ended and a student has no access to the course the student might not be able to clear a notification from the said course. This can happen if the course was closed before the student read the notifications.
Either notifications need to be cleared if a course is made inaccessible or they need to be filtered out of the list of shown notifications.
@oseppala Have you tested this recently? Is this really a bug in the current version? We already closed this issue one month ago: #683. This new issue looks like an exact duplicate. There is nothing new here.
In case a course has ended and a student has no access to the course the student might not be able to clear a notification from the said course. This can happen if the course was closed before the student read the notifications.
Either notifications need to be cleared if a course is made inaccessible or they need to be filtered out of the list of shown notifications.