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

Q&A forums incorrectly display a "post cannot be viewed by you" error in some circumstances

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_39_STABLE
    • MOODLE_310_STABLE, MOODLE_39_STABLE
    • MDL-70863-master
    • Hide
      • Create a new course
      • Enrol one user as teacher
      • Enrol two users as students (u1 and u2)
      • Access to the course with the teacher and create a new forum configured as "Q and A forum"
      • Still as teacher, add a question (new post in that forum)
      • Now, access to the course as u1 and reply to the question/post posted by the teacher
      • Now, connect to the site using the Moodle mobile app as u2, go to the forum and confirm that:
        • You can see the "Q and A forum" original question by the teacher
        • You don't see the original u1 post yet
        • You don't see any errors in the page
      Show
      Create a new course Enrol one user as teacher Enrol two users as students (u1 and u2) Access to the course with the teacher and create a new forum configured as "Q and A forum" Still as teacher, add a question (new post in that forum) Now, access to the course as u1 and reply to the question/post posted by the teacher Now, connect to the site using the Moodle mobile app as u2, go to the forum and confirm that: You can see the "Q and A forum" original question by the teacher You don't see the original u1 post yet You don't see any errors in the page

      If a student tries to view a discussion of a Q&A forum and other students have already posted in that discussion, the WebService mod_forum_get_discussion_posts throws an "Invalid response value" error. The reason is that timecreated is null, and the WS doesn't allow it to be null.

      In web the student sees the message "This post cannot be viewed by you, probably because you have not posted in the discussion, the maximum editing time hasn't passed yet, the discussion has not started or the discussion has expired.".

        1. MDL-70863.jpg
          MDL-70863.jpg
          174 kB
        2. QAForum_browser_student.png
          QAForum_browser_student.png
          326 kB
        3. QAForum_browser_studentApp.png
          QAForum_browser_studentApp.png
          358 kB
        4. QAForum_student_app_394.jpg
          QAForum_student_app_394.jpg
          25 kB
        5. QAForum_teacher.png
          QAForum_teacher.png
          328 kB

            jleyva Juan Leyva
            dpalou Dani Palou
            Dani Palou Dani Palou
            Jun Pataleta Jun Pataleta
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 46 minutes
                3h 46m

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