Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 440954

Summary: Invalid tooltip for the message of the validation rules
Product: [Modeling] Sirius Reporter: Stephane Begaudeau <stephane.begaudeau>
Component: DiagramAssignee: Maxime Porhel <maxime.porhel>
Status: CLOSED FIXED QA Contact: Belqassim Djafer <belqassim.djafer>
Severity: normal    
Priority: P3 CC: belqassim.djafer, laurent.fasani, laurent.redor, maxime.porhel, pierre-charles.david
Version: 1.0.0Keywords: triaged
Target Milestone: 3.0.0M4   
Hardware: All   
OS: All   
Whiteboard: trivial flash
Bug Depends on:    
Bug Blocks: 456056    
Attachments:
Description Flags
Invalid tooltip none

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.