kolibri
kolibri copied to clipboard
Error when clicking on an exercise in the coach notifications feed when the user didn't generate any attempts
Observed behavior
In the coach dashboard, I clicked on the purple text in this notification, but nothing happened:

Errors and logs
In the console, I got this traceback:

It looks as if the user didn't actually have any AttemptLogs for that exercise, and progress was still at 0.
Expected behavior
I would expect that either:
- The user could still be taken somewhere meaningful when clicking on that link, OR
- The notification text shouldn't be a link, if it's not actionable
Context
Kolibri 0.15.1b0
How can I get help to solve this bug
@akolson and I made some progress on this but were not able to replicate it without artificially forcing the app to think there are no attempt logs.
We cannot get the notification to pop up at all without actually interacting with the lesson exercise.
In any case, we will return to this next week to wrap it up by trying to add a condition that will not link to a broken Report page.
Fixed in #9682