ModuleResultForm doesn't complete LP if passed

Created on 30 April 2025, 2 months ago

Problem/Motivation

When manually scoring a Learning Path, the ModuleResultForm doesn't check and update the Learning Path status. This results in an odd state in which the module(s) are complete, but not the LP.

Steps to reproduce

  1. Create a new Learning Path with a single module, and a single file upload activity
  2. Require the activity to be manually scored
  3. Have a user complete the activity
  4. Manually score the user as passed
  5. The user will show a completed Module Status, but an incomplete Learning Path status

Proposed resolution

Modify the ::submitForm() to also check if the LP has passed.

Remaining tasks

Create patch.

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Active

Version

3.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States socketwench

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024