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

Breadcrumb not showing categories on course page

XMLWordPrintable

    • MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_24_STABLE
    • wip-MDL-37762-m25
    • Hide
      1. Log in as a admin.
      2. Ensure $CFG->navshowcategories is enabled.
      3. Log in as a student.
      4. Browse to a course.
      5. Check the category path for the course is shown in the navbar.
      6. Log in as an admin and disable $CFG->navshowcategories.
      7. Log in as a student.
      8. Browse to the same course.
      9. Check that the category path is no longer shown.
      Show
      Log in as a admin. Ensure $CFG->navshowcategories is enabled. Log in as a student. Browse to a course. Check the category path for the course is shown in the navbar. Log in as an admin and disable $CFG->navshowcategories. Log in as a student. Browse to the same course. Check that the category path is no longer shown.

      I've updated to 2.4 and found that this problem has returned.

      Create course categories category / subcategory / subsubcategory and course inside it.
      When you're in bottom category, breadcrumb shows "start > category > subcategory > subsubcategory ".
      When you's re inside course in 2.4 breadcrumb shows "start > course", while in 2.3 it was "start > category > subcategory > subsubcategory > course".
      This is unexpected and unwanted behaviour, as it is a regression of MDL-2347.

        1. 2,4 breadcrumbs (or lack of them).jpg
          16 kB
          Derek Chirnside
        2. Before.jpg
          27 kB
          Derek Chirnside
        3. 0001-MDL-37762-dirty-fix.patch
          2 kB
          Vadim Dvorovenko

            paul.n Paul Nicholls (Inactive)
            vadimon Vadim Dvorovenko
            Sam Hemelryk Sam Hemelryk
            Damyon Wiese Damyon Wiese
            Frédéric Massart Frédéric Massart
            Votes:
            14 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.