kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Error when clicking on an exercise in the coach notifications feed when the user didn't generate any attempts

Open jamalex opened this issue 3 years ago • 1 comments

Observed behavior

In the coach dashboard, I clicked on the purple text in this notification, but nothing happened: image

Errors and logs

In the console, I got this traceback: image image

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

jamalex avatar Feb 09 '22 01:02 jamalex

How can I get help to solve this bug

aditi428 avatar Apr 07 '22 11:04 aditi428

@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.

nucleogenesis avatar Aug 23 '22 15:08 nucleogenesis

Fixed in #9682

rtibbles avatar Sep 01 '22 18:09 rtibbles