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

webservice enrol_manual_enrol_users, enrol_manual_unenrol_users cause HTTP 500 error

XMLWordPrintable

      When you called enrol_manual_unenrol_users or enrol_manual_enrol_users in a course with no enrol_manual instance it's cause an server error.

      And I think these are the issue that cause the error. 

      https://github.com/moodle/moodle/blob/a3cc26f8bb8a9422a4b5a0ef3ff5f3551830d724/enrol/manual/externallib.php#L116

      https://github.com/moodle/moodle/blob/a3cc26f8bb8a9422a4b5a0ef3ff5f3551830d724/enrol/manual/externallib.php#L198

            pholden Paul Holden
            smo@praxis.dk Sam Møller
            Stevani Andolo Stevani Andolo
            Jun Pataleta Jun Pataleta
            CiBoT CiBoT
            Votes:
            0 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 - 1 hour, 10 minutes
                1h 10m

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