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

Activity dates not reflecting in the course page after resetting course start date

XMLWordPrintable

    • MOODLE_401_STABLE
    • MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
    • MDL-76936-401
    • Hide
      1. Log in as a course creator.
      2. Create a course.
        • Set "Course start date" to tomorrow at 0:00.
        • Set "Show activity dates" in "Appearance" section to Yes.
      3. Add an assignment activity to the course.
        • Set "Allow submissions from" to tomorrow at 9:00.
      4. Confirm in the course page "Opens:" of the assignment is tomorrow at 9:00.
      5. Visit course reset page by "More" > "Course reuse" > "Reset" (in Classic theme, "Administration" block > "Course administration" > "Reset").
      6. Tick "Enable" at "Course start date" and set it to the day after tomorrow at 0:00.
      7. Click "Reset course".
      8. Click "Continue".
      9. Verify in the course page "Opens:" of the assignment is the day after tomorrow at 9:00.
      Show
      Log in as a course creator. Create a course. Set "Course start date" to  tomorrow at 0:00 . Set "Show activity dates" in "Appearance" section to Yes. Add an assignment activity to the course. Set "Allow submissions from" to  tomorrow at 9:00 . Confirm  in the course page "Opens:" of the assignment is  tomorrow at 9:00 . Visit course reset page by "More" > "Course reuse" > "Reset" (in Classic theme, "Administration" block > "Course administration" > "Reset"). Tick "Enable" at "Course start date" and set it to  the day after tomorrow at 0:00 . Click "Reset course". Click "Continue". Verify  in the course page "Opens:" of the assignment is  the day after tomorrow at 9:00 .

      By resetting the course start date in the reset form, teachers can also reset dates associated with activities.

      However, activity open/close/due dates do not reflect in the course page after resetting the course start date.  They keep unchanged until the settings of one of the activities are saved.

      Activity access restriction dates correctly reflect the change immediately after resetting.

      Reproduction Steps:

      1. Create a course starting on 18 Jan.
      2. Add three activities opens/closes at 9am/9pm on 18, 19, and 20 Jan. with access restrictions at 8am on the same days.
      3. Reset the course start date to 28 Jan.
      4. You see new activity restriction dates are correctly displayed but open/close dates are not on the course page.
      5. You also see activity open/close dates are correctly changed in the settings page.
      6. After saving the settings of one of the activities without any change, you see all activity dates are correctly displayed on the course page.

        1. (I) Passed -- (400)MDL-76936.png
          (I) Passed -- (400)MDL-76936.png
          61 kB
        2. (I) Passed -- (401)MDL-76936.png
          (I) Passed -- (401)MDL-76936.png
          60 kB
        3. (I) Passed -- (402)MDL-76936.png
          (I) Passed -- (402)MDL-76936.png
          62 kB
        4. (I) Passed -- (Master)MDL-76936.png
          (I) Passed -- (Master)MDL-76936.png
          67 kB
        5. 01-newcourse.png
          01-newcourse.png
          57 kB
        6. 02-addcoursemodules.png
          02-addcoursemodules.png
          79 kB
        7. 03-resetcoursestartdate.png
          03-resetcoursestartdate.png
          43 kB
        8. 04-restrictiondatesonlychange.png
          04-restrictiondatesonlychange.png
          79 kB
        9. 05-settingsarecorrect.png
          05-settingsarecorrect.png
          106 kB
        10. 06-correctedaftersave.png
          06-correctedaftersave.png
          79 kB

            kagotani Hiroto Kagotani
            kagotani Hiroto Kagotani
            Jordi Pujol-Ahulló Jordi Pujol-Ahulló
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 56 minutes
                56m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.