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

Bulk user enrol hard-codes the student role id as 5 and incorrectly shows teachers as enrolled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Deferred
    • Icon: Critical Critical
    • None
    • 2.0, 2.1.10, 2.2.10, 2.3.7, 2.4.4, 2.5
    • Administration
    • None
    • MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE

      This was checked in as MDL-15449.

      This is BAD. The code should look for the role in the database according to some condition, for example shortname = 'student' or having capability legacy/student, with appropriate error handling.

            Unassigned Unassigned
            timhunt Tim Hunt
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

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