Details

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

      Description

      Chat portlet changes order of messages after reloading the page.
      The order of messages messes only in the last conversation. In the last conversation, messages will be ordered by USER,TIME.

      Steps to reproduce

      1. create two users, A and B
      2. login to portal as user A
      3. login to portal as user B with another browser
      4. start a conversation between A and B
      5. type messages M1,M2,M3,..., etc in this way:
        1. as user A : "M1"
        2. as user B : "M2"
        3. as user A : "M3"
        4. as user B : "M4"
        5. etc
      6. reload the page
      7. open the conversation window
      8. check the order of messages

      Expected behaviour

      1. M1
      2. M2
      3. M3
      4. ...

      Experienced behaviour

      1. M1
      2. M3
      3. M5
      4. ...
      5. M2
      6. M4
      7. M6

        Activity

        Hide
        Peter Borkuti added a comment -

        I tried it, but every after fix other issues emerges.

        Chat portlet caches the messages. I think, that the original issue is related to this and to that fact, that we write outgoing messages into the chat-portlet window. Probably it would be a good idea not to write sending messages into the window, just to send to the server and waiting for reading it back.

        In this case, user be assured, that his/her message was stored by the server.

        Show
        Peter Borkuti added a comment - I tried it, but every after fix other issues emerges. Chat portlet caches the messages. I think, that the original issue is related to this and to that fact, that we write outgoing messages into the chat-portlet window. Probably it would be a good idea not to write sending messages into the window, just to send to the server and waiting for reading it back. In this case, user be assured, that his/her message was stored by the server.
        Hide
        Marc Lundgren (Inactive) added a comment -
        Show
        Marc Lundgren (Inactive) added a comment - I have made a comment here: https://github.com/marclundgren/liferay-plugins/pull/15
        Hide
        Ginson Ren added a comment -

        PASSED Manual Testing following the steps in the description.

        Reproduced on:
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 0352f0e09eb35850873334d2c7157171e065f86f.
        Plugins 6.2.x CE GIT ID: a048e79c5182988149f4eb54b2832018ccf1be1b.

        Messages are in wrong order after refreshing the page.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 3f8aff2bd6f077ff735e4b9558cce0bf75ce03a4.
        Plugins 6.1.x EE GIT ID: 1c9c33a9153da6411cc446339c9ce791354a9878.
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 0352f0e09eb35850873334d2c7157171e065f86f.
        Plugins 6.2.x CE GIT ID: f9cd99977756e08dc045ac4bc62da7841edbeec6.

        Messages are in correct order after refreshing the page.

        Show
        Ginson Ren added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 0352f0e09eb35850873334d2c7157171e065f86f. Plugins 6.2.x CE GIT ID: a048e79c5182988149f4eb54b2832018ccf1be1b. Messages are in wrong order after refreshing the page. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 3f8aff2bd6f077ff735e4b9558cce0bf75ce03a4. Plugins 6.1.x EE GIT ID: 1c9c33a9153da6411cc446339c9ce791354a9878. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 0352f0e09eb35850873334d2c7157171e065f86f. Plugins 6.2.x CE GIT ID: f9cd99977756e08dc045ac4bc62da7841edbeec6. Messages are in correct order after refreshing the page.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 49 weeks, 5 days ago

              Development

                Subcomponents

                  Structure Helper Panel