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

Tertiary navigation containing single item cannot be accessed

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-73721-master
    • Hide
      1. Create a test user
      2. Create a new role, assignable in the system context, with the following capability:
        • 'moodle/course:reviewotherusers'
      3. Assign user this role in the system context
      4. Create a course
      5. Enrol user as a student
      6. Log in as user
      7. Visit course participants
      8. Verify that you see 2 options in the tertiary navigation menu:
        • Enrolments > Enrolled users
        • Permissions > Other users
      9. Make a note of the id of the course (can be seen in the URL of the page)
      10. Choose "Other users" from the menu
      11. Verify that you are at enrol/otherusers.php?id=[the-same-id-from-step-9]
        1. It is ok if you see an error on the page now. That is dealt with on another issue -> MDL-73722
      Show
      Create a test user Create a new role, assignable in the system context , with the following capability: 'moodle/course:reviewotherusers' Assign user this role in the system context Create a course Enrol user as a student Log in as user Visit course participants Verify that you see 2 options in the tertiary navigation menu: Enrolments > Enrolled users Permissions > Other users Make a note of the id of the course (can be seen in the URL of the page) Choose "Other users" from the menu Verify that you are at enrol/otherusers.php?id= [the-same-id-from-step-9] It is ok if you see an error on the page now. That is dealt with on another issue -> MDL-73722
    • 3

      Found while looking at MDL-73674

      If the tertiary navigation contains a single item, it is impossible to navigate to

      1. Create a test user
      2. Create a new role, assignable in the system context, with the following capability:
        • 'moodle/course:reviewotherusers'
      3. Assign user this role in the system context
      4. Create a course
      5. Enrol user as a student
      6. Log in as user
      7. Visit course participants:
      8. Opening the tertiary navigation shows the expected Permissions > Other users item, but clicking it has no effect (because it's already selected, given it's the only option)
        • It seems like the Enrolments > Enrolled users option isn't present at all, despite the fact I'm currently looking at it

      Additionally, and this may be unrelated to this issue, actually manually navigating to the Other users page shows an exception (see MDL-73722)

            jpataleta Jun Pataleta
            pholden Paul Holden
            Peter Dias Peter Dias
            Shamim Rezaie Shamim Rezaie
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 2 hours, 15 minutes
                1d 2h 15m

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