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

Flat file enrolment : Unknown role in field2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Inactive
    • 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...

        Attachments

          Activity

            People

            Assignee:
            lucaboesch Luca Bösch
            Reporter:
            fox Séverin Terrier
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: