Bug 440954 - Invalid tooltip for the message of the validation rules
Summary: Invalid tooltip for the message of the validation rules
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 1.0.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.0.0M4   Edit
Assignee: Maxime Porhel CLA
QA Contact: Belqassim Djafer CLA
URL:
Whiteboard: trivial flash
Keywords: triaged
Depends on:
Blocks: 456056
  Show dependency tree
 
Reported: 2014-08-01 04:36 EDT by Stephane Begaudeau CLA
Modified: 2015-06-24 11:16 EDT (History)
5 users (show)

See Also:


Attachments
Invalid tooltip (11.01 KB, image/png)
2014-08-01 04:36 EDT, Stephane Begaudeau CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephane Begaudeau CLA 2014-08-01 04:36:37 EDT
Created attachment 245640 [details]
Invalid tooltip

See the attached screenshot. The tooltip says that the expression should return a boolean while it needs a string.

The tooltip should say something like "The expression should return a string." instead of "Expect return type: a boolean."
Comment 1 Maxime Porhel CLA 2014-08-01 04:59:46 EDT
The error is in Viewpoint.ecore, the http://www.eclipse.org/sirius/interpreted/expression/returnType EAnnotation on ValidationRule.message should be corrected.
Comment 2 Laurent Fasani CLA 2014-12-01 11:29:23 EST
fix https://git.eclipse.org/r/#/c/37408/
Comment 3 Maxime Porhel CLA 2014-12-05 05:18:34 EST
Corrected by commit d7ecac45b5bb65df363bdd5a021c5f6a862ca615
Comment 4 Pierre-Charles David CLA 2014-12-23 04:27:00 EST
Cloned as bug #456056 to backport the fix into Sirius 2.0.x.
Comment 5 Belqassim Djafer CLA 2015-04-08 11:24:41 EDT
Verified on Sirius 3.0.0M6
Comment 6 Pierre-Charles David CLA 2015-06-24 11:16:07 EDT
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.