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

Inconsistent breadcrumb when browsing categories

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.3, 2.3.2, 2.4
    • Fix Version/s: 2.3.3
    • Component/s: Navigation
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as an admin
      2. Create a new user
      3. Create a new category
      4. Assign your new user as a manager in that role
      5. Create a new course
      6. Enrol your user as a manager in that course
      7. Log out
      8. Log in as the manager
      9. Browse to the category page (/course/category.php?id=2)
      10. Check you get a breadcrumb there
      Show
      Log in as an admin Create a new user Create a new category Assign your new user as a manager in that role Create a new course Enrol your user as a manager in that course Log out Log in as the manager Browse to the category page (/course/category.php?id=2) Check you get a breadcrumb there
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:
      wip-MDL-30754-m24

      Description

      Breadcrumbs are sometimes shown and sometimes not when browsing categories (course/category.php?id=N).
      Example:

      • create a user, 1 category and 1 course inside that category
      • login as a user and go to that category (course/category.php?id=2)
      • notice that breadcrumbs are shown (see breadcrumbs-when-no-course.png)
      • enroll user in any course
      • go to the same category again (course/category.php?id=2)
      • notice that breadcrumbs are not shown (see breadcrums-when-enrolled.png)

      Tested on 2.1.3+ (Build: 20111205) and latest 2.3dev (Build: 20111209)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  2 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/Nov/12