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

Enrol start date incorrect in enrol_flatfile

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.10, 2.8.7, 2.9.2
    • 2.8.9, 2.9.3
    • Enrolments
    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • Hide

      Use enrol_flatfile to enrol a user on a course without supplying a start date
      Check the list of enroled users for the course - the user will be enrolled with a startdate showing when the enrol_flatfile sync job ran
      Use enrol_flatfile to process the same file as in the first step
      Check the list of enroled users for the course - the user will be enrolled with a startdate showing 1st of Jan 1970
      Repeat the process with the fix applied and the update date will be correct

      See docs for more details on setting up enrol_flatfile: https://docs.moodle.org/29/en/Flat_file

      Show
      Use enrol_flatfile to enrol a user on a course without supplying a start date Check the list of enroled users for the course - the user will be enrolled with a startdate showing when the enrol_flatfile sync job ran Use enrol_flatfile to process the same file as in the first step Check the list of enroled users for the course - the user will be enrolled with a startdate showing 1st of Jan 1970 Repeat the process with the fix applied and the update date will be correct See docs for more details on setting up enrol_flatfile: https://docs.moodle.org/29/en/Flat_file

    Description

      When the enrol_flatfile sync job runs and updates an existing record the enrol start date for users is set incorrectly.

      Attachments

        Issue Links

          Activity

            People

              andrew_dc_hancox Andrew Hancox
              andrew_dc_hancox Andrew Hancox
              Simey Lameze Simey Lameze
              Andrew Lyons Andrew Lyons
              cameron1729 cameron1729
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Nov/15