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

Missing Navigation and Administration blocks in Competency breakdown report.

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • You need a course with enrolled users and competencies linked.
      • Go to Administration >Plugins > Filters > Manage filters
      • Activate filter Display emoticons as images
      • Go to the Course administration > Reports > Competency breakdown
      • You see Navigation and Administration blocks.
      Show
      You need a course with enrolled users and competencies linked. Go to Administration >Plugins > Filters > Manage filters Activate filter Display emoticons as images Go to the Course administration > Reports > Competency breakdown You see Navigation and Administration blocks.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-55964_master

      Description

      When filter "Display emoticons as images" is activated, the navigation and administration blocks are missing in Competency breakdown report.

      The problem seems to be in In competency/report/index.php.

      The problem disappears
      If we move the line $PAGE->set_pagelayout('incourse'); before line
      $coursename = format_text($course->fullname, false, array('context' => $context));

      OR
      if we replace the function format_text by format_string.

      To reproduce:

      • You need a course with enrolled users and competencies linked.
      • Go to Administration >Plugins > Filters > Manage filters
      • Activate filter Display emoticons as images
      • Go to the Course administration > Reports > Competency breakdown
      • You can see Navigation and Administration blocks are missing.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Nov/16