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

Group message search results take user to wrong conversation

    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 some students (at least 2)
      2. Create a group and enable 'group messaging'
      3. Add the students to the group
      4. Now, as student 1, log in and open the messaging pane
      5. Using the search box, search for student 2
      6. Send them a message 'hello'
      7. Go back to the main pane and go to the group conversation
      8. Send the message 'dog' and log out
      9. Now, login as student 2 and open the messaging pane.
      10. Using the search, search for the string 'dog'
      11. Click the resulting message and verify you are taken to the group conversation, NOT the individual conversation.
      12. Now, back on the main pane, search for the string 'hello'
      13. Click the resulting message and verify you are taken to the individual conversation with student 1.
      Show
      Create a course with some students (at least 2) Create a group and enable 'group messaging' Add the students to the group Now, as student 1, log in and open the messaging pane Using the search box, search for student 2 Send them a message 'hello' Go back to the main pane and go to the group conversation Send the message 'dog' and log out Now, login as student 2 and open the messaging pane. Using the search, search for the string 'dog' Click the resulting message and verify you are taken to the group conversation, NOT the individual conversation. Now, back on the main pane, search for the string 'hello' Click the resulting message and verify you are taken to the individual conversation with student 1.
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-64034-master

      Description

      If you search a message that is in a group message and open that message, the individual conversation is opened instead of the group conversation. How to reproduce:

      1. Search a message that is in a group conversation. The search results will display the user name and avatar that wrote the message instead of the group conversation (not sure if this is intended).
      2. Click that message. An individual conversation with that user will be opened instead of the group conversation where the message is.

      It could be related to the fact that the WebService core_message_data_for_messagearea_search_messages doesn't return the conversationid.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 40 minutes
                40m