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

Conversations no longer display after upgrading to 3.6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.6
    • Fix Version/s: 3.6.1
    • Component/s: Messages
    • Labels:
    • Testing Instructions:
      Hide
      1. Install a new Moodle 3.5 site
      2. Make sure messaging is enabled.
      3. Make sure you have at least 4 users (mdk run users) and make sure you know their names.
      4. As user1, log in and go to the messaging page
      5. In the contacts pane, search for user2 and send them a message
      6. Again in contacts, search for user3 and send them a message
      7. At the top of the pane, click user3's name, then click 'Add contact'
      8. Now, click contacts again and search for user4.
      9. Send them a message, and add them as a contact, as above.
      10. Log out
      11. Log in as user 4
      12. Go to the messaging page
      13. View the message from user1
      14. Click their name in the top pane and select 'Add contact' (this is create a single mutual contact which will persist, post upgrade)
      15. Log out
      16. Make sure you have the integration remote added and that you've fetched.

        git remote add integration git://git.moodle.org/integration.git
        git fetch integration
        

      17. Checkout the integration MOODLE_36_STABLE branch

        git checkout integration/MOODLE_36_STABLE
        

      18. Log in to the site as an admin and run the upgrade
      19. Log out when done.
      20. Log in as user1
      21. Open the messaging panel
      22. Verify you see 3 conversations listed under the 'messages' section.
      23. Click 'Contacts' and Verify you see 1 contact: user4
      24. Click user4
      25. Verify you see the message you sent to them
      26. From the ellipsis menu (...), click 'Star'
      27. Refresh the page
      28. Open the messaging panel
      29. Verify you see 1 starred conversation and 2 messages (you'll need to expand messages to confirm this)
      30. Log out
      31. Log in as user 2
      32. Verify you see a single unread message badge in the page header
      33. Open the message panel
      34. Verify you see a single conversation with user1.
      Show
      Install a new Moodle 3.5 site Make sure messaging is enabled. Make sure you have at least 4 users (mdk run users) and make sure you know their names. As user1, log in and go to the messaging page In the contacts pane, search for user2 and send them a message Again in contacts, search for user3 and send them a message At the top of the pane, click user3's name, then click 'Add contact' Now, click contacts again and search for user4. Send them a message, and add them as a contact, as above. Log out Log in as user 4 Go to the messaging page View the message from user1 Click their name in the top pane and select 'Add contact' (this is create a single mutual contact which will persist, post upgrade) Log out Make sure you have the integration remote added and that you've fetched. git remote add integration git://git.moodle.org/integration.git git fetch integration Checkout the integration MOODLE_36_STABLE branch git checkout integration/MOODLE_36_STABLE Log in to the site as an admin and run the upgrade Log out when done. Log in as user1 Open the messaging panel Verify you see 3 conversations listed under the 'messages' section. Click 'Contacts' and Verify you see 1 contact: user4 Click user4 Verify you see the message you sent to them From the ellipsis menu (...), click 'Star' Refresh the page Open the messaging panel Verify you see 1 starred conversation and 2 messages (you'll need to expand messages to confirm this) Log out Log in as user 2 Verify you see a single unread message badge in the page header Open the message panel Verify you see a single conversation with user1.
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-64307_master

      Description

      Using Moodle 3.6 (Build: 20181203)
      PHP 7.0.30-0+deb9u1

      Tested both with site-wide-messaging enabled & disabled

      Messaging does not seem to work at all on our site. I already noticed this with the beta versions of 3.6, but put it down to being beta... upgraded to release today, and it's still dysfunctional:

      1) When I write a message to another user, the new message notification will show in the navbar, but no message will show anywhere in the drawer ("no messages found")

      2) When I search for the user that sent the message and select him, the message will show. If I then star the message, it will show up in "starred". However, after refreshing the page (F5), no more messages are shown in "starred", and the message drawer is again completely empty

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markn Mark Nelson
              Reporter:
              technikum-wien Stefan Weber
              Peer reviewer:
              Jake Dallimore
              Integrator:
              Jun Pataleta
              Tester:
              Michael Hawkins
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              2 Vote for this issue
              Watchers:
              16 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/Dec/18