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

Breadcrumb not showing categories on course page

    XMLWordPrintable

    Details

    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull Master Branch:
      wip-MDL-37762-m25

      Description

      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.

        Attachments

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

          Issue Links

            Activity

              People

              • Votes:
                14 Vote for this issue
                Watchers:
                21 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/May/13