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

Receive error message when removing a user from a Role in Category enrolment

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.6, 2.1.3, 2.2, 2.3
    • Fix Version/s: 2.1.4, 2.2.1
    • Component/s: Enrolments
    • Labels:
    • Database:
      MySQL
    • Testing Instructions:
      Hide

      In a Category, click Assign Roles, then Student, then choose a user from Existing Users, click Remove, receive error message. Student is removed though.

      Show
      In a Category, click Assign Roles, then Student, then choose a user from Existing Users, click Remove, receive error message. Student is removed though.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w52_MDL-30951_m23_catsync

      Description

      Receive the following message when removing a user from a Role in Category enrolment: Coding error detected, it must be fixed by a programmer: moodle_database::get_in_or_equal() does not accept empty arrays

      Student is removed but that message displays afterward.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    9/Jan/12