Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 259856 - The error message when the chat message cannot be sent is not correct.
Summary: The error message when the chat message cannot be sent is not correct.
Status: RESOLVED FIXED
Alias: None
Product: ECF
Classification: RT
Component: ecf.presence (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.0.1   Edit
Assignee: Remy Suen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-02 02:20 EST by Hiroyuki CLA
Modified: 2009-07-24 15:28 EDT (History)
2 users (show)

See Also:


Attachments
MessagesView.patch (928 bytes, patch)
2009-07-08 18:17 EDT, Hiroyuki CLA
remy.suen: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hiroyuki CLA 2009-01-02 02:20:00 EST
The error message when the chat message cannot be sent is not correct. 
The following text were displayed as an error message. 

The message could not be sent: {0}

On org.eclipse.ecf.presence.ui/src/org/eclipse/ecf/presence/ui/MessagesView.java
Line: 278
setContentDescription(Messages.MessagesView_CouldNotSendMessage);

Here, the edit processing is not done. 
I think that it is necessary to keep the following. 

setContentDescription(Messages.bind(Messages.MessagesView_CouldNotSendMessage, ex.getCause().getMessage()));
Comment 1 Hiroyuki CLA 2009-07-08 18:17:50 EDT
Created attachment 141147 [details]
MessagesView.patch
Comment 2 Scott Lewis CLA 2009-07-08 18:26:28 EDT
Adding Remy for review and application to presence ui bundle
Comment 3 Remy Suen CLA 2009-07-24 15:28:18 EDT
Comment on attachment 141147 [details]
MessagesView.patch

I've committed a modified version to HEAD and Release_3_0. Thanks Hiroyuki.
Comment 4 Remy Suen CLA 2009-07-24 15:28:51 EDT
Resolving as FIXED.