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

Link a due date from Forum to the Calendar.

    Details

    • Database:
      MySQL
    • Testing Instructions:
      Hide

      Test due date event is created

      1. Add a new forum activity to a course.
      2. On the 'Adding a new Forum' page, give the forum a name, description, and enable a due date by clicking the 'enable' checkbox under the 'Due Date' heading.
      3. Click 'Save and return to course' and go to the calendar.
      4. Verify an event has been created on the date you specified.
      5. Verify there is a link in the event description that links to the forum.

      Test due date event is updated when the forum changes

      1. Go back to the course and click 'Edit settings' on the forum you created.
      2. Under the due date heading change the due date
      3. Save the forum and go to the calendar.
      4. Verify the due date event has been updated to the new date.
      5. Edit the forum again and uncheck the 'enable' checkbox under the due date heading
      6. Save the forum and go to the calendar
      7. Verify the due date event has been removed
      8. Edit the forum again and re-enable the due date
      9. Save the forum and go back to the calendar
      10. Verify the due date event has been created again.

      Test due date event is deleted when forum has been deleted

      1. Make sure the due date event still exists
      2. Delete the forum
      3. Go to the calendar
      4. Verify the due date event has been removed.
      Show
      Test due date event is created Add a new forum activity to a course. On the 'Adding a new Forum' page, give the forum a name, description, and enable a due date by clicking the 'enable' checkbox under the 'Due Date' heading. Click 'Save and return to course' and go to the calendar. Verify an event has been created on the date you specified. Verify there is a link in the event description that links to the forum. Test due date event is updated when the forum changes Go back to the course and click 'Edit settings' on the forum you created. Under the due date heading change the due date Save the forum and go to the calendar. Verify the due date event has been updated to the new date. Edit the forum again and uncheck the 'enable' checkbox under the due date heading Save the forum and go to the calendar Verify the due date event has been removed Edit the forum again and re-enable the due date Save the forum and go back to the calendar Verify the due date event has been created again. Test due date event is deleted when forum has been deleted Make sure the due date event still exists Delete the forum Go to the calendar Verify the due date event has been removed.
    • Workaround:
      Hide

      Manually enter forum due dates into the calendar.

      Show
      Manually enter forum due dates into the calendar.
    • Affected Branches:
      MOODLE_22_STABLE
    • Pull Master Branch:
      MDL-31355-master

      Description

      When creating a forum, I would like to see a new item added that states:
      "Show this due date in the Calendar."

      This can go either above or below the "Restrict ratings to items with..." items, but it should not replace these "Restrict ratings..." items. Each will serve its own purpose. Currently, the forum setup webpage is lacking a connection to the calendar.

      With this approach, a forum can remain open even after the due date just in case students want to continue discussion. By also having the "Restrict dates..." field, it becomes obvious when student do not post by the due date. So I believe that all of these fields can work well together. However, maybe this post will stimulate some even better ideas.

        Gliffy Diagrams

          Attachments

          1. 01_create_forum.PNG
            01_create_forum.PNG
            192 kB
          2. 02_fill_fields.PNG
            02_fill_fields.PNG
            81 kB
          3. 03_event_created.PNG
            03_event_created.PNG
            87 kB
          4. 04_link_in_description.PNG
            04_link_in_description.PNG
            13 kB
          5. 05_edit_forum.PNG
            05_edit_forum.PNG
            88 kB
          6. 06_change_duedate.PNG
            06_change_duedate.PNG
            24 kB
          7. 07_event_updated.PNG
            07_event_updated.PNG
            21 kB
          8. 08_disable_duedate.PNG
            08_disable_duedate.PNG
            20 kB
          9. 09_delete_forum.PNG
            09_delete_forum.PNG
            33 kB
          10. MDL-31355-add-duedate-forum-event-calendar.diff
            8 kB

            Issue Links

              Activity

                People

                • Votes:
                  31 Vote for this issue
                  Watchers:
                  24 Start watching this issue

                  Dates

                  • Created:
                    Updated: