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

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

          Issue Links

            Activity

            rjerz Rick Jerz created issue -
            salvetore Michael de Raadt made changes -
            Field Original Value New Value
            Link This issue will help resolve MDL-18299 [ MDL-18299 ]
            salvetore Michael de Raadt made changes -
            Link This issue has a non-specific relationship to MDL-18300 [ MDL-18300 ]
            salvetore Michael de Raadt made changes -
            Fix Version/s DEV backlog [ 10464 ]
            Labels triaged
            isuru89 Isuru Madushanka Weerarathna made changes -
            tsala Helen Foster made changes -
            Labels triaged patch triaged
            aborrow Anthony Borrow made changes -
            Link This issue has a non-specific relationship to MDL-48344 [ MDL-48344 ]
            jethac Jetha Chan made changes -
            Status Open [ 1 ] Peer review in progress [ 10013 ]
            Peer reviewer Jetha Chan [ jethac ]
            jethac Jetha Chan made changes -
            Pull Master Branch MDL-31355-master
            Pull Master Diff URL https://github.com/mjlambert/moodle/commits/MDL-31355-master
            Pull from Repository git://github.com/mjlambert/moodle.git
            jethac Jetha Chan made changes -
            Labels patch triaged cime patch triaged
            cibot CiBoT made changes -
            Labels cime patch triaged patch triaged
            jethac Jetha Chan made changes -
            Labels patch triaged docs_required patch triaged ui_change
            jethac Jetha Chan made changes -
            Labels docs_required patch triaged ui_change cime docs_required patch triaged ui_change
            cibot CiBoT made changes -
            Labels cime docs_required patch triaged ui_change docs_required patch triaged ui_change
            jethac Jetha Chan made changes -
            Labels docs_required patch triaged ui_change cime docs_required patch triaged ui_change
            cibot CiBoT made changes -
            Labels cime docs_required patch triaged ui_change docs_required patch triaged ui_change
            jethac Jetha Chan made changes -
            Labels docs_required patch triaged ui_change cime docs_required patch triaged ui_change
            cibot CiBoT made changes -
            Labels cime docs_required patch triaged ui_change docs_required patch triaged ui_change
            mjlambert Matt Lambert made changes -
            Attachment 09_delete_forum.PNG [ 44568 ]
            Attachment 08_disable_duedate.PNG [ 44569 ]
            Attachment 07_event_updated.PNG [ 44570 ]
            Attachment 06_change_duedate.PNG [ 44571 ]
            Attachment 05_edit_forum.PNG [ 44572 ]
            Attachment 04_link_in_description.PNG [ 44573 ]
            Attachment 03_event_created.PNG [ 44574 ]
            Attachment 02_fill_fields.PNG [ 44575 ]
            Attachment 01_create_forum.PNG [ 44576 ]
            marina Marina Glancy made changes -
            Comment [ A comment with security level 'hq-developers' was removed. ]
            marina Marina Glancy made changes -
            Status Peer review in progress [ 10013 ] Reopened [ 4 ]
            marina Marina Glancy made changes -
            Peer reviewer Jetha Chan [ jethac ]
            marina Marina Glancy made changes -
            Status Reopened [ 4 ] Waiting for peer review [ 10012 ]
            marina Marina Glancy made changes -
            Peer reviewer John Okely [ johno ]
            cibot CiBoT made changes -
            Labels docs_required patch triaged ui_change ci docs_required patch triaged ui_change
            johno John Okely made changes -
            Remaining Estimate 0 minutes [ 0 ]
            Status Waiting for peer review [ 10012 ] Peer review in progress [ 10013 ]
            johno John Okely made changes -
            Labels ci docs_required patch triaged ui_change addon_candidate ci docs_required patch triaged ui_change
            johno John Okely made changes -
            Labels addon_candidate ci docs_required patch triaged ui_change ci docs_required patch triaged ui_change
            johno John Okely made changes -
            Testing Instructions 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.
            johno John Okely made changes -
            Testing Instructions 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.
            h4.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.

            h4.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.
            h4.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.
            johno John Okely made changes -
            Testing Instructions h4.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.

            h4.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.
            h4.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.
            h4.Test due date event is created
            # Add a new forum activity to a course.
            !01_create_forum.PNG|thumbnail!
            # 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.
            !02_fill_fields.PNG|thumbnail!
            # Click 'Save and return to course' and go to the calendar.
            # Verify an event has been created on the date you specified.
            !03_event_created.PNG|thumbnail!
            # Verify there is a link in the event description that links to the forum.
            !04_link_in_description.PNG|thumbnail!

            h4.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.
            h4.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.
            johno John Okely made changes -
            Testing Instructions h4.Test due date event is created
            # Add a new forum activity to a course.
            !01_create_forum.PNG|thumbnail!
            # 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.
            !02_fill_fields.PNG|thumbnail!
            # Click 'Save and return to course' and go to the calendar.
            # Verify an event has been created on the date you specified.
            !03_event_created.PNG|thumbnail!
            # Verify there is a link in the event description that links to the forum.
            !04_link_in_description.PNG|thumbnail!

            h4.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.
            h4.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.
            h4.Test due date event is created
            # Add a new forum activity to a course.
            !01_create_forum.PNG|thumbnail!
            # 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.
            !02_fill_fields.PNG|thumbnail!
            # Click 'Save and return to course' and go to the calendar.
            # Verify an event has been created on the date you specified.
            !03_event_created.PNG|thumbnail!
            # Verify there is a link in the event description that links to the forum.
            !04_link_in_description.PNG|thumbnail!

            h4.Test due date event is updated when the forum changes
            # Go back to the course and click 'Edit settings' on the forum you created.
            !05_edit_forum.PNG|thumbnail!
            # Under the due date heading change the due date
            !06_change_duedate.PNG|thumbnail!
            # Save the forum and go to the calendar.
            # Verify the due date event has been updated to the new date.
            !07_event_updated.PNG|thumbnail!
            # Edit the forum again and uncheck the 'enable' checkbox under the due date heading
            !08_disable_duedate.PNG|thumbnail!
            # 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.

            h4.Test due date event is deleted when forum has been deleted
            # Make sure the due date event still exists
            # Delete the forum
            !09_delete_forum.PNG|thumbnail!
            # Go to the calendar
            # Verify the due date event has been removed.
            derekcx Derek Chirnside made changes -
            Link This issue has a non-specific relationship to MDL-39707 [ MDL-39707 ]
            johno John Okely made changes -
            Status Peer review in progress [ 10013 ] Reopened [ 4 ]
            Assignee moodle.com [ moodle.com ]
            cibot CiBoT made changes -
            Original Estimate 0 minutes [ 0 ]
            Labels ci docs_required patch triaged ui_change docs_required patch triaged ui_change

              People

              • Votes:
                29 Vote for this issue
                Watchers:
                22 Start watching this issue

                Dates

                • Created:
                  Updated: