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

Course Category Breadcrumb not displaying properly

    XMLWordPrintable

Details

    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide

      I have not been able to identify one without directly editing core.

      Show
      I have not been able to identify one without directly editing core.
    • Hide

      1] Create two Course Categories - Home ► Courses ► Add/edit courses (ie. Category 1 & Category 2)
      2] Add a course to the Category (ie. Category 1) at the top of the list when viewing the "Add/edit courses" page
      3] Navigate back to the "Add/edit courses" page
      4] Click on the second Category (ie. Category 2) in the list
      5] View that the breadcrumb is displaying the First Category's (ie. Category 1) title in the Breadcrumb. ( Home ► Courses ► Category 1 ► Add/edit courses )

      Sub-category Test:
      1] After completing the above test, create a Subcategory under the second category listed on the "Add/edit courses" page
      2] Navigate back to the "Add/edit courses" page
      3] Click on the Sub-Category that was just created
      4] View that the breadcrumb is displaying the First Category's (ie. Category 1) title in the Breadcrumb. ( Home ► Courses ► Category 1 ► Add/edit courses )

      Review the attachment for an example of the end result.

      Show
      1] Create two Course Categories - Home ► Courses ► Add/edit courses (ie. Category 1 & Category 2) 2] Add a course to the Category (ie. Category 1) at the top of the list when viewing the "Add/edit courses" page 3] Navigate back to the "Add/edit courses" page 4] Click on the second Category (ie. Category 2) in the list 5] View that the breadcrumb is displaying the First Category's (ie. Category 1) title in the Breadcrumb. ( Home ► Courses ► Category 1 ► Add/edit courses ) Sub-category Test: 1] After completing the above test, create a Subcategory under the second category listed on the "Add/edit courses" page 2] Navigate back to the "Add/edit courses" page 3] Click on the Sub-Category that was just created 4] View that the breadcrumb is displaying the First Category's (ie. Category 1) title in the Breadcrumb. ( Home ► Courses ► Category 1 ► Add/edit courses ) Review the attachment for an example of the end result.

    Description

      Breadcrumb navigation for "Home ► Courses ► Example Category ► Add/edit courses" is displaying the first category listed on the "Add/edit courses" page when navigating to other course categories and sub-categories from the list. This happens only after courses are added to the first category listed. This error is not present when no courses are present in the first category listed on the "Add/edit courses" page.

      Attachments

        Issue Links

          Activity

            People

              samhemelryk Sam Hemelryk
              joseph.jacelone Joseph Jacelone
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              16 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/May/12