gocodebox / gocodebox/lifterlms

Should we delete students progress (etc.) as well when deleting an enrollment?

Open
#1,220 2 comments 0 reactions 0 assignees View on GitHub
Severity: Normal Type: Bug
Dominant language
PHP
Stars
212
Forks
140
Avg merge
2d 14h
Merged PRs (30d)
19

Description

Since v3.33.0 we introduced the ability to delete a student enrollment via the Students table (in course/membership) and/or from the Order meta box.
The student enrollment deletion just deletes strict enrollment information like:
```
status
start date
enrollment trigger
```

Should we delete also the student completion progresses (and at this point quizzes, assignments etc)?

This question has been raised in HS-125484 where _we_ considered this as a potential bug.

Contributor guide

Open the contributing guide

Research direction

Start by tracing enrollment deletion from the Students table and the Order meta box. Review how the named enrollment data is removed, then determine the intended handling of student completion progress, quizzes, and assignments; done requires an agreed deletion policy and corresponding behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.