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

overwritten variable on sync_enrolments (ext. db enrolment plugin) makes to loose users id's to sincronize.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Enrolments
    • Labels:
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      On external db enrolment plugin library (/moodledirectory/enrol/database/lib.php), on line 365, code overwrite an existing variable which have a users id array used to sincronize.
      Result: This makes plugin can't do enrolments and php crash for incompatible types.
      Possible solution: rename this variable on the nested loop enviroment (it's a while).

        Attachments

          Activity

            People

            • Assignee:
              skodak Petr Skoda
              Reporter:
              keroppi Jordi Martínez
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: