Skip to content

Lesson and quizzes pages error out when there are soft deleted users #13793

@pcenov

Description

@pcenov

This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Observed behavior

This one was spotted by @AlexVelezLl:
If I have created lessons and quizzes and assigned them to individual users, then when I soft delete even one of the users all the existing lessons and quizzes become inaccessible:

LessonsAndQuizzes.mp4

Note that if the lesson/quiz was assigned to the entire class and then one or several of the learners were soft deleted, the lessons and quizzes remain accessible. Fully deleting or recovering a soft deleted user results in being able to access the lesson/quizzes again.

Expected behavior

To be further specified.

Steps to reproduce the issue

  1. Install the build from https://github.com/learningequality/kolibri/releases/tag/v0.19.0-beta0
  2. Create one lesson and one quiz and assign them to individual users
  3. Soft delete one or several of the users and try to view the lesson/quiz details

Usage Details

Kolibri 0.19.0b0
Windows 11, Ubuntu 22, Mac OS 15.5 - Chrome, Firefox

Metadata

Metadata

Assignees

Labels

APP: CoachRe: Coach App (lessons, quizzes, groups, reports, etc.)APP: FacilityRe: Facility App (user/class management, facility settings, csv import/export, etc.)DEV: frontendP0 - criticalPriority: Release blocker or regression

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions