Messages are not shown as sent or received when no history is shown

Description

There is some kind of regression in the 2.7.2 version. When you send a message in the group chat, the message is actually sent, but the text is still in the input area and the message is not shown in the chat area. Also when a new message arrives into a room, it doesn't show it and only the tab title goes read. Same happens with the personal messages in the Group chat. Regular one on one chat works fine.

In 2.6.3 version there was a similar bug with regular messages, but it was only happening occasionally. After moving to 2.7.0 and Java 7 it was eliminated.

Environment

None

Activity

Show:

wroot September 14, 2015 at 10:44 AM

The problem was with the recent patch which added a date stamp for the current message. The problem is that the code is comparing last message with the current one to see whether it needs to add a stamp. But if history is not shown in the window, when it can't find what to compare and exception is thrown. I couldn't figure out how to fix this, so just commented this code and will leave it for someone with better java skills to fix.

wroot September 14, 2015 at 8:40 AM

Actually i couldn't reproduce it with 2.7.2 build. It starts with the 2.7.2.697 build (which is the nightly build for 2.7.3), which included a patch for - adding date stamps for current messages. Not sure how it broke the group chat, will try to take a look.

Fixed

Priority

Assignee

Reporter

Affects versions

Fix versions

Components

Ignite Forum URL

Created September 14, 2015 at 8:15 AM
Updated October 28, 2020 at 1:44 PM
Resolved September 14, 2015 at 10:44 AM