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

Blog-like format forum no longer shows unread messages count

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7
    • Fix Version/s: 3.7.2
    • Component/s: Forum
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as admin
      2. Create a course, a user, and enrol the user into the course as a student.
      3. In the course, create a forum:
        • Name it forum1
        • Set the forum type to "Standard forum displayed in a blog-like format"
      4. Go to the forum1 forum and create a new topic by clicking on the "Add a new topic" button.
      5. Write "topic1" in the subject field, and "message1" in the message field, and then click on the "Post to forum" button.
      6. Repeat steps 4 and 5 to create another topic (this time write "topic2" and "message2").
      7. Click on the "discuss this topic" link of the "topic1" topic
      8. Click on the reply link and write something and hit submit.
      9. Go back to the course page and create another forum
        • Name it forum2
        • Set the forum type to "A single simple discussion"
      10. Go to the forum2 forum
      11. Click on the reply link and submit a reply
      12. Click on the last "reply" link on the plage, and submit another reply
      13. Log out
      14. Log in as the student
      15. Open the user menu (click on the student's name at the top right of the page) and select "preferences"
      16. Click on the "forum preferences"
      17. Set forum tracking to "Yes: highlight new posts for me" and click on save changes
      18. Go to the course and then go to forum1
      19. Verify that the title of "topic1" and "topic2" are highlighted
      20. Verify that you see "1 unread post" for "topic2"
      21. Verify that you see "2 unread posts" for "topic 1"
      22. Verify that the texts in the previous step are highlighted
      23. Click over "2 unread posts"
      24. Verify that the title of the first post in topic1 is not highlighted and the title of the second post in topic1 is highlighted
      25. Reload the page
      26. Verify that the posts in the topic 1 are no longer highlighted
      27. Come back to forum1
      28. Verify that the title of "topic1" and "topic2" are no longer highlighted
      29. Verify that there is no text about unread posts for "topic1"
      30. Verify that there is no text about unread posts for "topic2"
      31. Go back to the course main page, and then go to forum2
      32. Verify that the title of all the posts are highlighted
      33. Reload the page
      34. Verify that the title of all the posts are not highlighted
      Show
      Log in as admin Create a course, a user, and enrol the user into the course as a student. In the course, create a forum: Name it forum1 Set the forum type to "Standard forum displayed in a blog-like format" Go to the forum1 forum and create a new topic by clicking on the "Add a new topic" button. Write "topic1" in the subject field, and "message1" in the message field, and then click on the "Post to forum" button. Repeat steps 4 and 5 to create another topic (this time write "topic2" and "message2"). Click on the "discuss this topic" link of the "topic1" topic Click on the reply link and write something and hit submit. Go back to the course page and create another forum Name it forum2 Set the forum type to "A single simple discussion" Go to the forum2 forum Click on the reply link and submit a reply Click on the last "reply" link on the plage, and submit another reply Log out Log in as the student Open the user menu (click on the student's name at the top right of the page) and select "preferences" Click on the "forum preferences" Set forum tracking to "Yes: highlight new posts for me" and click on save changes Go to the course and then go to forum1 Verify that the title of "topic1" and "topic2" are highlighted Verify that you see "1 unread post" for "topic2" Verify that you see "2 unread posts" for "topic 1" Verify that the texts in the previous step are highlighted Click over "2 unread posts" Verify that the title of the first post in topic1 is not highlighted and the title of the second post in topic1 is highlighted Reload the page Verify that the posts in the topic 1 are no longer highlighted Come back to forum1 Verify that the title of "topic1" and "topic2" are no longer highlighted Verify  that there is no text about unread posts for "topic1" Verify that there is no text about unread posts for "topic2" Go back to the course main page, and then go to forum2 Verify that the title of all the posts are highlighted Reload the page Verify that the title of all the posts are not highlighted
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull from Repository:
    • Pull 3.7 Branch:
    • Pull Master Branch:
      MDL-65786-master
    • Sprint:
      Internationals - 3.8 Sprint 1

      Description

      When i'm on the "Moodle in English" course page, i have an indication of the number of unread messages in each forum.

      When i open the "Plugins traffic" forum (https://moodle.org/mod/forum/view.php?id=8149#unread), there is no more the indication of unread messages in each discussion.

      If i open the discussions where new messages have been added (with "Discuss this topic" link), i well see new messages, with an appropriate background color indicating they're new.

      I haven't tested (yet) if it's a Moodle.org specific problem, or if it's a general Moodle bug.

        Attachments

        1. forumblog_unreadtopic2.png
          forumblog_unreadtopic2.png
          55 kB
        2. image-2019-08-07-10-01-01-660.png
          image-2019-08-07-10-01-01-660.png
          66 kB
        3. screenshot-1.png
          screenshot-1.png
          202 kB
        4. unreadposts.png
          unreadposts.png
          16 kB

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Sep/19

                  Time Tracking

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