Users are able to restart trainings even after the allowed number of attempts is reached

Created on 10 April 2024, 12 months ago
Updated 11 April 2024, 12 months ago

Problem/Motivation

Users can restart trainings even after the allowed number of attempts is reached.

Steps to reproduce

1. Installed Opigno 3.1 from scratch
2. Created a new training "group/add/learning_path"
3. Created and edited a new Opgino module -> "group/1/manager/"
4. Defined Multiple takes, Allowed number of attempts to 1
5. Added a member
6. Member completes the only allowed attempt
7. The Member is able to "Restart" the training which resets the score and status of the training since a button "Restart is shown pointing to /ajax/opigno-lp/group/restart/1.

Proposed resolution

1. Either there should be no "Restart" button after all attempts are exhausted
2. or there is a validation that will block the user from effectively restarting the training.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.1

Component

User interface

Created by

🇵🇹Portugal ricardoamaro

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

Comments & Activities

Production build 0.71.5 2024