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

problem with mod/forums/user.php when course is marked as unavailable to students

XMLWordPrintable

    • MOODLE_23_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MDL-38142-master
    • Hide

      (Difficulty: easy, requires student and teacher access to a course)

      1. Create a course with a forum activity (simple forum is fine).
      2. Enroll Student A in the course
      3. Log in to the course as Student A.
      4. As Student A, post in the forum activity.
      5. Enroll Teacher 1 in the course
      6. Log in as Teacher 1.
      7. Ensure the course's visibility to is set to show (e.g. Administration->Course administration->Edit settings->Visible->Show). Save your changes
      8. From the course's main page, in the Navigation block, under current course, click "Participants"
      9. From the participants page, click Student A's name (to get to Student A's course profile)
      10. In the Navigation block, under current course, under Student A's name, expand Forum posts, and click "Posts"
      11. TEST: make sure that you can view the post made in step #4
      12. Set the course's visibility to hidden (e.g. Administration->Course administration->Edit settings->Visible->Hide). Save your changes.
      13. From the course's main page, in the Navigation block, under current course, click "Participants"
      14. From the participants page, click Student A's name (to get to Student A's course profile)
      15. In the Navigation block, under current course, under Student A's name, expand Forum posts, and click "Posts"
      16. TEST: make sure that you can view the post made in step #4

      Admin test

      1. Go to the course, make sure the admin is NOT enrolled in it
      2. As the admin post the forum
      3. Login as the teacher and construct the URL to the forum posts made by the admin
      4. Make sure you can visit this page when the course is hidden, and visible.
      Show
      (Difficulty: easy, requires student and teacher access to a course) Create a course with a forum activity (simple forum is fine). Enroll Student A in the course Log in to the course as Student A. As Student A, post in the forum activity. Enroll Teacher 1 in the course Log in as Teacher 1. Ensure the course's visibility to is set to show (e.g. Administration->Course administration->Edit settings->Visible->Show). Save your changes From the course's main page, in the Navigation block, under current course, click "Participants" From the participants page, click Student A's name (to get to Student A's course profile) In the Navigation block, under current course, under Student A's name, expand Forum posts, and click "Posts" TEST: make sure that you can view the post made in step #4 Set the course's visibility to hidden (e.g. Administration->Course administration->Edit settings->Visible->Hide). Save your changes. From the course's main page, in the Navigation block, under current course, click "Participants" From the participants page, click Student A's name (to get to Student A's course profile) In the Navigation block, under current course, under Student A's name, expand Forum posts, and click "Posts" TEST: make sure that you can view the post made in step #4 Admin test Go to the course, make sure the admin is NOT enrolled in it As the admin post the forum Login as the teacher and construct the URL to the forum posts made by the admin http://fmc.in.moodle.com/sm/mod/forum/user.php?id=USERID&course=COURSEID Make sure you can visit this page when the course is hidden, and visible.

      When a course is set not available to students, attempts by instructors to view their forum participation via My courses -> Course name -> Participants -> Student name -> Forum posts -> [Posts | Discussions] yields the following error:

      forum/notenrolled

      Works fine when course is set as available to students.

            fred Frédéric Massart
            mlkumass Michael Kieras
            Frédéric Massart Frédéric Massart
            Andrew Lyons Andrew Lyons
            Damyon Wiese Damyon Wiese
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.