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

Cohort sync enrollment - Invalid call to role_assign(), userid can not be empty

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.4
    • Fix Version/s: None
    • Component/s: Cohorts
    • Labels:
    • Affected Branches:
      MOODLE_24_STABLE

      Description

      When adding a cohort to a course via cohort sync - error message

      'Invalid call to role_assign(), userid can not be empty'. The cohort does enrol but roles are missing and can only be fixed one at a time i.e. selecting each student and adding the role.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                moodle.com moodle.com
                Reporter:
                hthomas@theacademy.me Helen Thomas
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: