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

Enrol start date incorrect in enrol_flatfile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.10, 2.8.7, 2.9.2
    • Fix Version/s: 2.8.9, 2.9.3
    • Component/s: Enrolments
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull Master Branch:

      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

              Assignee:
              andrew_dc_hancox Andrew Hancox
              Reporter:
              andrew_dc_hancox Andrew Hancox
              Peer reviewer:
              Simey Lameze
              Integrator:
              Andrew Nicols
              Tester:
              cameron1729
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Nov/15