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
    • Similar Issues:
      Show 5 results 

      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.

        Issue Links

          Activity

          Hide
          Pani Gui (Inactive) added a comment -

          It is blocked by LPS-35869, unable to test on 6.2.x.

          Show
          Pani Gui (Inactive) added a comment - It is blocked by LPS-35869 , unable to test on 6.2.x.
          Hide
          Pani Gui (Inactive) added a comment - - edited

          This ticket is always bloced by LPS-36024.

          Show
          Pani Gui (Inactive) added a comment - - edited This ticket is always bloced by LPS-36024 .
          Hide
          Pani Gui (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

          Chat's sender is unable to see his message when he navigates to another page immediately after sending the message.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: ad4ae1fdf68735a93f79b4b53a8037cf28504ddd.
          Plugins 6.1.x EE GIT ID: 8f0fe140bb04c285b175f36be121e410f787ff7c.
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 0de998fb517fec18b3905df8ae3a5d61b6938e99.
          Plugins 6.2.x EE GIT ID: 780013a73b9bc752e8e93b95fa53ca8fcdc09c6e.

          The message shows properly to sender when he navigates to another page.

          Show
          Pani Gui (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. Chat's sender is unable to see his message when he navigates to another page immediately after sending the message. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: ad4ae1fdf68735a93f79b4b53a8037cf28504ddd. Plugins 6.1.x EE GIT ID: 8f0fe140bb04c285b175f36be121e410f787ff7c. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 0de998fb517fec18b3905df8ae3a5d61b6938e99. Plugins 6.2.x EE GIT ID: 780013a73b9bc752e8e93b95fa53ca8fcdc09c6e. The message shows properly to sender when he navigates to another page.

            People

            • Assignee:
              Pani Gui (Inactive)
              Reporter:
              Gabor Pusoma (Inactive)
              Recent user:
              Randy Zhu
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 3 weeks, 2 days ago

                Development

                  Structure Helper Panel