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

Exception on participants page

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • Hide
      1. Log in as admin
      2. Create a test user
      3. Navigate to Users > Permissions > Define roles in site administration
      4. Edit the Manager role
      5. Remove permission for moodle/role:review capability and save
      6. Navigate to Users > Permissions > Assign system roles in site administration
      7. Assign test user to Manager role
      8. Create a new course
      9. Enrol test user as a student
      10. Log out
      11. Log in as test user
      12. Navigate to course
      13. Press Participants from secondary navigation
      14. Confirm page loads without the following exception:

        Exception - Call to a member function out() on null
         
        Debug info:
        Error code: generalexceptionmessage 
        

      15. Confirm tertiary navigation does not contain Permissions > Permissions
      Show
      Log in as admin Create a test user Navigate to Users > Permissions > Define roles in site administration Edit the Manager role Remove permission for moodle/role:review capability and save Navigate to Users > Permissions > Assign system roles in site administration Assign test user to Manager role Create a new course Enrol test user as a student Log out Log in as test user Navigate to course Press Participants from secondary navigation Confirm page loads without the following exception: Exception - Call to a member function out() on null   Debug info: Error code: generalexceptionmessage Confirm tertiary navigation does not contain Permissions > Permissions
    • 0
    • HQ Team International CIH2-217

      1. Create a role with a capability 'moodle/role:assign'
      2. Create a user and give them this role in system context
      3. Enrol this user in a course
      4. Login as this user and go to the course participants page
      5. Exception happens:

      Exception - Call to a member function out() on null
       
      More information about this error
      Debug info:
      Error code: generalexceptionmessage
      Stack trace:
       
          line 96 of /lib/classes/output/participants_action_bar.php: Error thrown
          line 163 of /lib/classes/output/participants_action_bar.php: call to core\output\participants_action_bar->get_content_for_select()
          line 184 of /lib/classes/output/participants_action_bar.php: call to core\output\participants_action_bar->get_dropdown()
          line 4939 of /lib/outputrenderers.php: call to core\output\participants_action_bar->export_for_template()
          line 117 of /user/index.php: call to core_renderer->render_participants_tertiary_nav()
      

            pholden Paul Holden
            marina Marina Glancy
            Simey Lameze Simey Lameze
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 14 minutes
                1h 14m

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