Skip to content

Unclear workflow - What should happen if a facility is deleted while it's in use by some of the users #13874

@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 is a follow-up to #13757

The points from my previous comment (based on the following part of your reviewer guidance: Also, if a user is deleted due to a facility being deleted from a device that should also work. ) are still valid - if the user of the deleted facility is on a LOD, then the app just stops syncing, while otherwise the user is seeing a 500 error.

server.error.mp4

Originally posted by @pcenov in #13757 (comment)

Expected behavior

To be further discussed.

Steps to reproduce the issue

  1. Install the build from Robustly clear sessions on user deletion to cause immediate logout #13757
  2. On device 1 setup a server with learners
  3. On device 2 setup a Learn-only device and import several learners
  4. Delete the facility while the learners are interacting with it ( or any other users). Valid also for non-LOD setups.

Usage Details

Kolibri 0.19.10b1
Windows 11, Ubuntu 22, Mac OS 15.5 - Chrome, Firefox

Metadata

Metadata

Assignees

No one assigned

    Labels

    APP: FacilityRe: Facility App (user/class management, facility settings, csv import/export, etc.)DEV: frontendP1 - importantPriority: High impact on UXbugBehavior is wrong or broken

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions