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

Bug 516895

Summary: In VSM editor, "extends" element label is not updated when the value is changed
Product: [Modeling] Sirius Reporter: Jessy Mallet <jessy.mallet>
Component: PropertiesAssignee: Pierre-Charles David <pierre-charles.david>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: julien.dupont, pierre-charles.david
Version: 5.0.0Keywords: triaged
Target Milestone: 5.1.0   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/103781
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=fb30021312b3aa6bec4d122d9c222b662450e107
Whiteboard: backport vsm need_test
Attachments:
Description Flags
Project to import in order to reproduce the bug
none
ScreenShot to show the unsynchronised label. none

Description Jessy Mallet CLA 2017-05-18 10:33:27 EDT
Created attachment 268445 [details]
Project to import in order to reproduce the bug

When you extend a widget (or a group or a page), the label on the VSM editor is not update with the new value in "extends" Field. You have to close the editor and re-open it to have the good one.

Step to reproduce :
* import the attached project,
* open the basicfamily.odesign,
* open "Person Group" in properties views,
* change "Extends" field by using "name2" widget and save,
* the labet for the extend element is not synchronised : KO
Comment 1 Jessy Mallet CLA 2017-05-18 10:34:01 EDT
Created attachment 268446 [details]
ScreenShot to show the unsynchronised label.
Comment 2 Pierre-Charles David CLA 2017-06-15 12:16:08 EDT
Confirmed, thanks for finding this.
Comment 3 Eclipse Genie CLA 2017-08-28 11:43:39 EDT
New Gerrit change created: https://git.eclipse.org/r/103781
Comment 5 Pierre-Charles David CLA 2017-08-30 08:10:19 EDT
Fixed by fb30021312b3aa6bec4d122d9c222b662450e107. Still needs an automated test.
Comment 6 Pierre-Charles David CLA 2017-08-31 10:57:39 EDT
Marking as FIXED for 5.1.0. The properties views plug-ins are not yet present in the context of our test suites, so this can't be tested automatically until then (and it's a non-trivial task).
Comment 7 Pierre-Charles David CLA 2017-11-08 03:37:14 EST
Available in Sirius 5.1.0, see https://wiki.eclipse.org/Sirius/5.1.0.