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

Prevent using expired templates

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Competencies
    • Labels:
      None

      Description

      We have to prevent using expired templates when :

      • add user learning plan
      • associate cohort to template
      • create plan from template
      • ...

      Based on Frédéric Massart comment :

      Edge case may happen: duedate of template is set to time() + 1,
      so it is returned, but as soon as the plans are started to be created the duedate is reached, causing lots of problems. 
      

      We have to take this in consideration when adapting code in template_cohort::get_all_missing_plans

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              taboubii Issam Taboubi
              Participants:
              Component watchers:
              Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: