Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-34696 enrol improvements 2.4 META
  3. MDL-34851

show timecreated when timestart not set in enrol UI

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Enrolments
    • Labels:
    • Testing Instructions:
      Hide

      1/ manually modify manually enrolled user - remove start and end data
      2/ go to the enrol/users.php page and verify the timecreated data is shown when there is no start and end date

      Show
      1/ manually modify manually enrolled user - remove start and end data 2/ go to the enrol/users.php page and verify the timecreated data is shown when there is no start and end date
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w33_MDL-34851_m24_enrolledsince

      Description

      There is a difference in user_enrolments timestart and timecreated internally - timestart and timeend indicate when is the enrolment active. The timecreated means when the entry was added to the system. "when student may access course" and "when was student enrolled" into course is not the same.

      The current enrolment UI does not show when was student enrolled which seems to be confusing especially for plugins that do not set timestart. Workaround is to display timecreated data when timestart not set in enrol UI.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            skodak Petr Skoda
            Integrator:
            Aparup Banerjee
            Tester:
            Frédéric Massart
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Dec/12