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

Feedback activity does not update calendar events on course reset

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.0.6, 3.1.2
    • Component/s: Feedback
    • Labels:
    • Testing Instructions:
      Hide

      Manual test:

      1. Create a feedback activity with a future start and end date
      2. Verify that an event is created in the calendar for both the start and end dates
      3. Perform a course reset and change the course start date
      4. Verify that the feedback activity dates were updated
      5. Import the feedback activity into another course. Verify that calendar events were created.

      Automated test:

      1. Run behat for mod_feedback
      2. Run phpunit for mod_feedback
      Show
      Manual test: Create a feedback activity with a future start and end date Verify that an event is created in the calendar for both the start and end dates Perform a course reset and change the course start date Verify that the feedback activity dates were updated Import the feedback activity into another course. Verify that calendar events were created. Automated test: Run behat for mod_feedback Run phpunit for mod_feedback
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-55157_m32v6

      Description

      Found while working on MDL-11369:
      The feedback module is missing the callback feedback_refresh_events() so calendar events are not updated when the course is reset and the starting date is changed. It is also missing the code to change the activity start / end dates when the course date is updated using course reset.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/Sep/16