-
Bug
-
Resolution: Deferred
-
Minor
-
None
-
3.5.2, 3.6.2
-
MOODLE_35_STABLE, MOODLE_36_STABLE
-
MDL-64682-master -
What Happens
Let's say you have a course "Intermediate Bread Buttering", which, based on the navcourselimit setting and the sorting of the My Courses navigation section, does not appear in the My Courses menu. That is, it would appear after the end of the My Courses list because of navcourselimit. If a user enrolled in that course navigates to the course page, the course is added to the navigation, but under Courses instead of My Courses, regardless of the value of showallcourses.
Why It's Bad
This causes MDL-60312. Additionally, for courses in which the user is enrolled, it causes full category breadcrumbs to display even if navshowmycategories is disabled (and the admin would therefore be expecting flat breadcrumbs).
Even if those issues were resolved, it is still a violation of the expectations of the administrator who has chosen to disable showallcourses.
Solutions?
Apart from solving MDL-60312 and the breadcrumb issue, which exacerbate this bug, possible modifications that ameliorate this problem might be:
- Update the help documentation to indicate this behavior to admins
- On the course page of a course which exceeds navcourselimit, add that course to the navigation at the top of My Courses temporarily
- Do not add a current course to the navigation structure if that course is past navcourselimit
- will help resolve
-
MDL-58213 Current course no longer shown under "Current course" in navigation menu
- Closed
-
MDL-60312 All courses loaded in navigation when navshowallcourses off
- Closed
-
MDL-64683 Courses in which a user is enrolled sometimes show full breadcrumbs even when navshowmycategories is disabled
- Closed