Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: ECLIPSE-188
Type: Improvement Improvement
Status: Open Open
Priority: Trivial Trivial
Assignee: Unassigned
Reporter: James Strachan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Fuse IDE

show the actual validation error message when 1 error on a Properties view rather than "1 error detected"

Created: 26/Apr/11 02:53 PM   Updated: 19/Sep/12 08:24 AM
Component/s: Camel Editor
Affects Version/s: None
Fix Version/s: None


 Description  « Hide
when editing the Properties fields on a node (e.g. typing a non-numeric into a number field like closeCorrelationKeyOnCompletion or completionSize on Aggregate - the error message on the title section of the Properties view shows "1 error detected" rather than showing the actual error.

It would be nicer to just show the one error message there



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
James Strachan added a comment - 26/Apr/11 03:47 PM - edited
did some investigation. Seems that MessageManager.ControlDecorator.createPrefix() ensures that the prefix is never null but always "" if you install a IMessagePrefixProvider which returns null (or set the IMessagePrefixProvider to null).

Then MessageManager.update(ArrayList) only ever shows 1 error when the prefix is null (which it can never be) so not sure if we can fix this one

Particularly as I see no way to switch the MessageManager implementation; the update* methods are all private and there's no way to look at the MessageManager and find out what the current Messages are to then interact with the prefix or explicitly set the Form text based on the number of messages available!

Bizarre!