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

Contact request counts do not match results displayed on the contact requests view when users blocked

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6
    • Fix Version/s: 3.6
    • Component/s: Messages
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a course with 2 students
      2. Log in as student 1 and message student 2 (to create conversation)
      3. Using the ellipsis menu (...) block student 2
      4. Now, log in as student 2.
      5. Open the conversation with student 1
      6. From the ellipsis menu (...) click 'Add to contacts'
      7. Log out
      8. Log in again as student 1 and open the messaging pane
      9. Verify there are no contact requests pending.
      10. Click the contacts and go to the requests tab.
      11. Verify you see no contact requests
      12. Go back to the main view and open the conversation with student 2
      13. You should see a pending contact request - decline this.
      14. Unblock the user
      15. From the ellipsis menu (...) click 'Add to contacts'
      16. Log out
      17. Log in as student 2 and open the messaging pane
      18. Verify you have 1 pending contact request.
      19. Click contacts and go to the requests tab.
      20. Verify you see the pending contact request listed.
      Show
      Create a course with 2 students Log in as student 1 and message student 2 (to create conversation) Using the ellipsis menu (...) block student 2 Now, log in as student 2. Open the conversation with student 1 From the ellipsis menu (...) click 'Add to contacts' Log out Log in again as student 1 and open the messaging pane Verify there are no contact requests pending. Click the contacts and go to the requests tab. Verify you see no contact requests Go back to the main view and open the conversation with student 2 You should see a pending contact request - decline this. Unblock the user From the ellipsis menu (...) click 'Add to contacts' Log out Log in as student 2 and open the messaging pane Verify you have 1 pending contact request. Click contacts and go to the requests tab. Verify you see the pending contact request listed.
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-64047-master

      Description

      Replication:

      1. Create a course with 2 students
      2. Log in as student 1 and message student 2 (to create conversation)
      3. Block student 2
      4. Now, log in as student 2.
      5. Open the conversation with student 1
      6. From the ellipsis menu (...) click 'Add to contacts'
      7. Log out
      8. Log in again as student 1 and open the messaging pane
        Observed behaviour: you have a contact request count of 1, but when clicking this, no requests are displayed.
        Expected behaviour: you have 0 contact requests counted, and 0 contact requests displayed when clicking through

        Attachments

        1. contact_requests_count_bug.png
          13 kB
          Jake Dallimore
        2. screenshot-1.png
          148 kB
          Janelle Barcega

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/18

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 17 minutes
                17m