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

Wrong default role in cohort enrol in Chrome

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.1, 2.2
    • Fix Version/s: 2.1.3
    • Component/s: Enrolments
    • Labels:
      None
    • Database:
      PostgreSQL
    • Testing Instructions:
      Hide

      1. Ensure that default role for cohort enrolment plugin is set to Student (Home ► Site administration ► Plugins ► Enrolments ► Cohort sync) and clear the caches.
      2. Open the course and choose Users > Enrolled Users
      3. Click on the "Enrol Cohort" button
      4. Check that the role is set to default one (i.e. Student, not Manager).
      5. Repeat steps 2-4 for different browsers.

      Show
      1. Ensure that default role for cohort enrolment plugin is set to Student (Home ► Site administration ► Plugins ► Enrolments ► Cohort sync) and clear the caches. 2. Open the course and choose Users > Enrolled Users 3. Click on the "Enrol Cohort" button 4. Check that the role is set to default one (i.e. Student, not Manager). 5. Repeat steps 2-4 for different browsers.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:

      Description

      While the fix introduced in MDL-24280 works perfectly for all browsers in 2.0, it does not work for Chrome in 2.1. The attached patch fixes the problem. it has been verified with IE and Gecko (Iceweasel, FF).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  28/Nov/11