Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-35326

Chat's sender will not see his message if he navigates to another page immediately after sending the message

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      7

      Description

      Reproduction Steps
      1 - Deploy chat portlet
      2 - Start Portal
      3 - Add another user, add him to the guest site (via Site Memberships)
      4 - Log in with test user on one browser
      5 - Add another page, page2
      6 - Log in with user user on another browser
      7 - Send a message with user to Test, then click on page2 after the message appeared on the sender's chat window, but before it appeared on the recipient's window

      Result: On the new page, the sender will not see his message, however the recipient will receive it. The entries are stored in the DB correctly.

      According to my investigation in the _createChatSession method the "if (entry.flag)" line filters these messages. This was applied in LPS-33278 and I think should be modified in order to update the freshly sent messages in the chat output panel.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pani.gui Pani Gui (Inactive)
                Reporter:
                gabor.pusoma Gabor Pusoma (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 15 weeks, 6 days ago