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

Flat file enrolment : Unknown role in field2

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 1.9.8, 1.9.9, 1.9.17
    • Fix Version/s: None
    • Component/s: Enrolments
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      Flat file enrolment don't work correctly.

      The enrolment file IS in the good place, IS processed by the cron job, BUT it returns (in the cron print) errors "Unknown role in field2" for each enrolment

      A solution i've found is to (as administrator) open the Flat File enrolment settings, and save them (without changing anything), just before running the cron. Doing so, it's well processed, without errors.

      Seems like some short role names wasn't well taken...

        Gliffy Diagrams

          Activity

            People

            • Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: