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

Group message search results take user to wrong conversation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.6
    • 3.6
    • Messages
    • MOODLE_36_STABLE
    • MOODLE_36_STABLE
    • MDL-64034-master
    • 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.

      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.

        1. MDL-64034.PNG
          21 kB
          Anna Carissa Sadia

            jaked Jake Dallimore
            jaked Jake Dallimore
            Ryan Wyllie Ryan Wyllie
            Jun Pataleta Jun Pataleta
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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