PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-33243

Chat portlet continually updates the user's status thus flooding the chat with "User is online" messages

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      8
    • Similar Issues:
      Show 4 results 

      Description

      Steps to Reproduce
      Steps to reproduce / testing done:
      Set up was done referencing this wiki: http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/ch-4

      1. Download ejabberd http://www.process-one.net/en/ejabberd/downloads , use the default settings
      1a. Make sure to start your ejabberd server. The installer should create a Start and Stop icon on your Desktop.
      2. Download the Chat Portlet (attached)
      3. Create a portlet-ext.properties (yes that's right, portlet) as such

      ## Jabber ##
      
      jabber.enabled=true
      jabber.import.user.enabled=true
      jabber.host=liferay-xdc49dh
      jabber.port=5222
      jabber.service.name=liferay-xdc49dh
      jabber.resource=Liferay
      jabber.sock5.proxy.enabled=false
      jabber.sock5.proxy.port=-1
      

      4. Place this properties file inside the Chat portlet in WEB-INF/classes
      5. Deploy your chat portlet and startup Liferay
      6. Within Liferay, create another user and sign in with him in another browser
      7. Chat with each other.

      Here is the issue:

      1. Every time you click on Liferay's chat tabs, the Spark user sees a message that the Liferay user is online (see attached screen shot).

        Activity

        Hide
        Sharry Shi added a comment - - edited

        PASSED Manual Testing following the steps in the description.

        Reproduced on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.1 CE GA2.

        Chat is flooded with the user's status.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 8ab18eb354a1540fbd021f8958743980a88ea705.
        Plugins 6.1.x EE GIT ID: ace9e6c847162b655095c2b9b16f26e6f9c8c9cc.
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 0cb1096546bef7f4c6213eae0d4dc3d0a925b0b7.
        Plugins 6.2.x EE GIT ID: 540f54d02fe0c71a80d6413eef0a36b0974faf76.

        The chat won't be flooded with the user's status.

        Show
        Sharry Shi added a comment - - edited PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.1 CE GA2. Chat is flooded with the user's status. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 8ab18eb354a1540fbd021f8958743980a88ea705. Plugins 6.1.x EE GIT ID: ace9e6c847162b655095c2b9b16f26e6f9c8c9cc. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 0cb1096546bef7f4c6213eae0d4dc3d0a925b0b7. Plugins 6.2.x EE GIT ID: 540f54d02fe0c71a80d6413eef0a36b0974faf76. The chat won't be flooded with the user's status.

          People

          • Assignee:
            Sharry Shi
            Reporter:
            Jonathan McCann
            Recent user:
            Randy Zhu
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

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

              Development

                Subcomponents

                  Structure Helper Panel