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

Only the nearest item was removed in the breadcrumb for the non-enrolled user

XMLWordPrintable

    • MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MDL-78138-401
    • MDL-78138-402
    • MDL-78138-master
    • Hide

      Note: This should be tested with the Boost theme.

      Initial setup

      1. Login as admin.
      2. Navigate to Site administration / Courses / Manage courses and categories.
      3. Create a category called Drinks with the Parent category is Top.
      4. Create a category called Coffee with the Parent category is Drinks.
      5. Create a category called Italian coffee with the Parent category is Coffee.
      6. Create a course called Espresso inside the Italian coffee category.
      7. Navigate to that course.
      8. Click on Participants.
      9. Unenroll the admin user.
      10. Create an assignment activity called "Test assignment".

      Testing

      1. Login as admin.
      2. Navigate to the Espresso course.
      3. Verify that there is no breadcrumb on the course homepage.
      4. Click the Test assignment.
      5. Verify that you will see the short breadcrumb with the format: [course_shortname] / [Activity name]
      Show
      Note : This should be tested with the Boost theme. Initial setup Login as admin. Navigate to Site administration / Courses / Manage courses and categories. Create a category called Drinks with the Parent category is Top . Create a category called Coffee with the Parent category is Drinks . Create a category called Italian coffee with the Parent category is Coffee . Create a course called Espresso inside the Italian coffee category. Navigate to that course. Click on Participants. Unenroll the admin user. Create an assignment activity called "Test assignment" . Testing Login as admin. Navigate to the Espresso course. Verify that there is no breadcrumb on the course homepage. Click the Test assignment. Verify that you will see the short breadcrumb with the format: [course_shortname] / [Activity name]

      Steps to replicate

      Initial setup

      1. Login as admin.
      2. Navigate to Site administration / Courses / Manage courses and categories.
      3. Create a category called Drinks with the Parent category is Top.
      4. Create a category called Coffee with the Parent category is Drinks.
      5. Create a category called Italian coffee with the Parent category is Coffee.
      6. Create a course called Espresso inside the Italian coffee category.
      7. Navigate to that course.
      8. Click on Participants.
      9. Unenroll the admin user.
      10. Create an assignment activity called "Test assignment".
      11. Navigate to the Espresso course homepage.

      Verify

      1. Observe the top of the course homepage (1).
      2. Click the Test assignment.
      3. Observe the top of the activity page (2).{}

      (1)

       - Expected result: There is no breadcrumb on this page.

       - Actual result: There is a breadcrumb on this page

      (2)

       - Expected result: There is a short breadcrumb on this page with format [course_name] / [Activity name].

       - Actual result: There is a full breadcrumb on this page

       

       

      — Original steps to replicate---

      In https://github.com/moodle-an-hochschulen/moodle-theme_boost_union/pull/285#pullrequestreview-1415802009, abias describes an inconsistent behaviour inside Boost which you can reproduce.

      FULL STEPS TO REPRODUCE
      In an instance, for example https://school.moodledemo.net, as a manager do create a course category "Category EDCBA" as sub-category of a course category "Category EDCB" as sub-category of a course category "Category EDC" as sub-category of a course category "Category ED" as sub-category of a course category "Category E" on top level, then create five courses, one in each category.
      Access those courses to compare, specifically the course in "Category EDCBA".

      WHAT YOU EXPECTED
      Either all courses feature the course category breadcrumb navigation, or none.

      WHAT ACTUALLY HAPPENS
      Beginning from the course in Course Category EDC (all hierarchically more nested), there is a course category breadcrumb navigation, up to there (all hierarchically less nested) there is none.

      In https://github.com/moodle-an-hochschulen/moodle-theme_boost_union/pull/285#pullrequestreview-1415802009, abias describes an inconsistent behaviour inside Boost which you can reproduce.

      FULL STEPS TO REPRODUCE
      In an instance, for example https://school.moodledemo.net, as a manager do create a course category "Category EDCBA" as sub-category of a course category "Category EDCB" as sub-category of a course category "Category EDC" as sub-category of a course category "Category ED" as sub-category of a course category "Category E" on top level, then create five courses, one in each category.
      Access those courses to compare, specifically the course in "Category EDCBA".

      WHAT YOU EXPECTED
      Either all courses feature the course category breadcrumb navigation, or none.

      WHAT ACTUALLY HAPPENS
      Beginning from the course in Course Category EDC (all hierarchically more nested), there is a course category breadcrumb navigation, up to there (all hierarchically less nested) there is none.

        1. (I) 3 Passed -- (Master)MDL-78138.png
          (I) 3 Passed -- (Master)MDL-78138.png
          93 kB
        2. (I) 5 Passed -- (Master)MDL-78138.png
          (I) 5 Passed -- (Master)MDL-78138.png
          80 kB
        3. abcde.png
          abcde.png
          54 kB
        4. activity_page_breadcrumb.png
          activity_page_breadcrumb.png
          192 kB
        5. image_1.png
          image_1.png
          35 kB
        6. image_2.png
          image_2.png
          26 kB
        7. image_3.png
          image_3.png
          41 kB
        8. MDL-78138.mov
          25.69 MB
        9. MDL-78138.mp4
          11.58 MB
        10. testing.png
          testing.png
          128 kB

            lucaboesch Luca Bösch
            lucaboesch Luca Bösch
            Stevani Andolo Stevani Andolo
            Huong Nguyen Huong Nguyen
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            2 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 47 minutes
                6h 47m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.