Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3019

Support the new forum due dates in the app

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.6.1
    • Fix Version/s: 3.7.0
    • Component/s: Forum add-on
    • Labels:
    • Testing Instructions:
      Hide

      Test on any device of your choice.

      3.7 site

      1. In web, create a forum and set a due date and a cut-off date in the future.
      2. Create a discussion in the forum.
      3. In the app, log in as a student and go to the forum.
      4. Check that this message is displayed on top the list of discussions "The due date for posting to this forum is Monday, 13 May 2019, 5:00 PM." (with the date you set in step 1).
      5. Go to the discussions.
      6. Check the same message is displayed on top the list of posts.
      7. In web, change the due date of the forum to a date in the past.
      8. In the app, log in as a student and go to the forum.
      9. Check that this message is displayed on top the list of discussions "The due date for posting to this forum was Monday, 13 May 2019, 10:00 AM." (with the date you set in step 7).
      10. Check that the button to add discussions is still displayed.
      11. Go to the discussions.
      12. Check the same message is displayed on top the list of posts.
      13. Check that the "Reply" button is displayed.
      14. In web, change the cut-off date of the forum to a date in the past.
      15. In the app, log in as a student and go to the forum.
      16. Check that this message is displayed on top the list of discussions " The cut-off date for posting to this forum is reached so you can no longer post to it."
      17. Check that the button to add discussions is NOT displayed.
      18. Go to the discussions.
      19. Check the same message is displayed on top the list of posts.
      20. Check that the "Reply" button is NOT displayed.
      21. Log in as a teacher and go to the forum.
      22. Check that the button to add discussions is displayed.
      23. Go to the discussions and check that the "Reply" button is displayed.
      24. In web, change the cut-off date of the forum to a date a few minutes in the future.
      25. In the app, log in as a student.
      26. Prefetch the forum.
      27. Switch to offline and wait a until the cut-off date is reached.
      28. Go to the forum.
      29. Check that this message is displayed on top the list of discussions " The cut-off date for posting to this forum is reached so you can no longer post to it."
      30. Check that the button to add discussions is NOT displayed.
      31. Go to the discussions.
      32. Check the same message is displayed on top the list of posts.
      33. Check that the "Reply" button is NOT displayed.

      3.6 site

      1. In the app, log in as a student and go to a forum.
      2. Check that no message is displayed on top of the list of discussions.
      3. Check that the button to add discussions is displayed.
      4. Go to a discussion.
      5. Check that no message is displayed on top of the list of posts.
      6. Check that the "Reply" button is displayed.
      Show
      Test on any device of your choice. 3.7 site In web, create a forum and set a due date and a cut-off date in the future. Create a discussion in the forum. In the app, log in as a student and go to the forum. Check that this message is displayed on top the list of discussions "The due date for posting to this forum is Monday, 13 May 2019, 5:00 PM." (with the date you set in step 1). Go to the discussions. Check the same message is displayed on top the list of posts. In web, change the due date of the forum to a date in the past. In the app, log in as a student and go to the forum. Check that this message is displayed on top the list of discussions "The due date for posting to this forum was Monday, 13 May 2019, 10:00 AM." (with the date you set in step 7). Check that the button to add discussions is still displayed. Go to the discussions. Check the same message is displayed on top the list of posts. Check that the "Reply" button is displayed. In web, change the cut-off date of the forum to a date in the past. In the app, log in as a student and go to the forum. Check that this message is displayed on top the list of discussions " The cut-off date for posting to this forum is reached so you can no longer post to it." Check that the button to add discussions is NOT displayed. Go to the discussions. Check the same message is displayed on top the list of posts. Check that the "Reply" button is NOT displayed. Log in as a teacher and go to the forum. Check that the button to add discussions is displayed. Go to the discussions and check that the "Reply" button is displayed. In web, change the cut-off date of the forum to a date a few minutes in the future. In the app, log in as a student. Prefetch the forum. Switch to offline and wait a until the cut-off date is reached. Go to the forum. Check that this message is displayed on top the list of discussions " The cut-off date for posting to this forum is reached so you can no longer post to it." Check that the button to add discussions is NOT displayed. Go to the discussions. Check the same message is displayed on top the list of posts. Check that the "Reply" button is NOT displayed. 3.6 site In the app, log in as a student and go to a forum. Check that no message is displayed on top of the list of discussions. Check that the button to add discussions is displayed. Go to a discussion. Check that no message is displayed on top of the list of posts. Check that the "Reply" button is displayed.
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle App 3.7.0

      Description

      We need to check how MDL-31355 affects to the app, it seems that adds some information about due/cutoff dates in the user interface in web (on top of a forum/discussion).

      The information seems to be returned via Web Services.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                albert.gasset Albert Gasset
                Reporter:
                jleyva Juan Leyva
                Peer reviewer:
                Daniel Palou
                Integrator:
                Juan Leyva
                Tester:
                Daniel Palou
                Participants:
                Component watchers:
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  7/Jun/19