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

Course completion report generates links to nonexisting icons

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.7.1, 2.7.2, 2.7.3, 2.8, 2.8.1
    • Fix Version/s: None
    • Labels:
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE

      Description

      The course completion report generates links to non existing icons when the availability conditions self - role - duration - date are enabled.

      Line 499 of report/completion/index.php is generating links to i/self.svg - i/role.svg - i/duration.svg - i/date.svg, but these icons do not exist:

      // Create icon if not supplied
      if (!$icon) {
       $icon = $OUTPUT->pix_url('i/'.$COMPLETION_CRITERIA_TYPES[$criterion->criteriatype]);
      }
      

      Good drawing skills will be needed to fix this issue .

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rdebleu Renaat Debleu
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Huong Nguyen, Bas Brands, Mathew May
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: