Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-67890

Course progress percentage should not be 100% when course is not completed

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_38_STABLE

      Description

      In Workplace we are currently using a modified version of the core function get_course_progress_percentage() in completion/classes/progress.php to calculate the progress of the program courses. The problem we are having now is that some changes were made in core (MDL-64889) and we are getting some inconsistent results and we want to use the core function directly but we would need to change how this percentage is calculated. For example, in the case where all activities are completed but there is some condition completion that still prevents the course to be completed (like if we set a condition of enrolment duration), this function returns 100% letting us think the course is completed when is not. In this case, where the course is not completed but all activities are completed, we would like to drop a little bit the progress percentage and return 95%.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              davidmatamoros David Matamoros
              Reporter:
              davidmatamoros David Matamoros
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated: