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

Breadcrumbs not correctly representing course category structure

    XMLWordPrintable

Details

    • MOODLE_24_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • wip-MDL-37290-m25
    • Hide
      1. Log in as an admin
      2. Browse to course/category management.
      3. Turn on editing
      4. Create three categories.
      5. Browse to the category you created second on the course/category management screen.
      6. Check that the navbar contains the correct category.
      Show
      Log in as an admin Browse to course/category management. Turn on editing Create three categories. Browse to the category you created second on the course/category management screen. Check that the navbar contains the correct category.

    Description

      When I view 'Add or Edit Courses' I see the following breadcrumbs: Home / ▶ Courses / ▶ Science / ▶ Add/edit courses

      The 'Science' category has the parent 'Top' and is the first category in the list of courses and categories.

      However ALL other courses show the same breadcrumb structure even if they are not in the science category.

      I created a 'discussion' here https://moodle.org/mod/forum/discuss.php?d=218136 which has screenshots showing the issue.

      I noticed this when courses in English failed to load when I clicked on the course link shown above. Got an error about missing table or similar (sorry did not get screenshot and error no longer appears). I moved the courses into the 'Science' category then back out to 'top' and now the courses do load fine but the bread crumbs still don't work.

      Yesterday after completing the upgrade to 2.4 I notice that I had foreign key errors e.g.

      Attachments

        Issue Links

          Activity

            People

              samhemelryk Sam Hemelryk
              joleaonrd John Leonard
              Dan Poltawski Dan Poltawski
              Ankit Agarwal Ankit Agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Jan/13