Active
Project:
Opigno Learning path
Version:
3.0.0
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2022 at 11:27 UTC
Updated:
9 Feb 2022 at 11:27 UTC
Jump to comment: Most recent
When a module is part of a course, and is mandatory, opigno_learning_path_get_steps() looks for module attempts using the course ID, instead of the learning path ID, this can result in no attempts being found and the message 'A required step, %module_name should be done first' even if the user has already completed the module.
i.e. OpignoModule::getModuleAttempts() is called with the course ID. via LpSteps::getModuleSteps() with a long call chain back up to opigno_learning_path_get_course_step(). There's no way with the API to provide both the course and learning path IDs.
Comments