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

Assignment Due Date is not automatically put into Calendar (for Teachers and Managers)

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Go to a course with atleast one teacher and student.
      2. Create an assignment with due date enabled and set to 4 days in future.
      3. Login as the student and make sure the event is listed in block_myoverview and calendar.
      4. Login as teacher and make sure the event is not listed in block_overview but is listed in the calendar.
      Show
      Go to a course with atleast one teacher and student. Create an assignment with due date enabled and set to 4 days in future. Login as the student and make sure the event is listed in block_myoverview and calendar. Login as teacher and make sure the event is not listed in block_overview but is listed in the calendar.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE

      Description

      Problem: When I set a due date for an "Assignment" in Moodle 3.3, this date no longer shows in the  Calendar.

      I first reported this as a "bug" (MDL-59113) but then learned that it was an intentional change created by those working on the new dashboard for 3.3.  Apparently, some felt that it was more important to add a "remind me to grade" date instead of continuing to show the "due date" in the calendar.

      Right now, when a teacher adds an assignment and creates a due date, this date does not show in the Calendar.  The "Remind me by" date also doesn't show until students start submitting assignments.  Under this logic, the teacher has no immediate way of verifying the assignment due date except to switch to student role, which is really awkward, and it is unique to moodle's past behavior.  Also, a "remind me" date is not implemented anywhere else in Moodle's activities, which presents itself as a possible new direction to creating reminders in a course.

      I propose that moodle returns to showing the due date for assignments in the calendar.  If there is a desire to also have a "remind me to grade" date, then this date can also be shown in the calendar.  "Reminders" are distinctly different than "Due Dates" and should be handled differently.

      Discussion about this can be found at:

      https://moodle.org/mod/forum/discuss.php?d=353347#p1425554

       

      I was provided the following code to go back to the old method, and this code is working fine. 

      In: /mod/assign/lib.php
      Replace return !$assign->can_grade() && $assign->can_view_submission($USER->id);
      with return $assign->can_view_submission($USER->id);

        Attachments

          Activity

            People

            • Votes:
              27 Vote for this issue
              Watchers:
              25 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Nov/17