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

Bug 507774

Summary: Remove problems on objects selection wizard's right list
Product: [Modeling] Sirius Reporter: Frederic Madiot <frederic.madiot>
Component: CoreAssignee: Pierre-Charles David <pierre-charles.david>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jessy.mallet, pierre-charles.david
Version: 4.1.0Keywords: triaged
Target Milestone: 5.0.0M7   
Hardware: PC   
OS: Windows NT   
See Also: https://git.eclipse.org/r/85723
https://git.eclipse.org/r/95459
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=d3ea514b60fb462f230f6f32b2f689d787fd277a
Whiteboard:
Attachments:
Description Flags
Sample file to reproduce the bug none

Description Frederic Madiot CLA 2016-11-18 11:07:29 EST
On the objects selection wizard used in the VSM editor (for example : selection of Source and Target mappings), when objects have already been selected, the wizards opens with these objects on the right list (Feature).

But when you select objects in this list and click on remove (or double-click on the selected objects), they are removed from the right list but they are not added to the left list. So that they can't be added back to the right list (you need to close the wizard and open it again)
Comment 1 Pierre-Charles David CLA 2016-11-22 16:20:14 EST
Created attachment 265521 [details]
Sample file to reproduce the bug

Confirmed.

Steps to reproduce:
1. Open the attached file
2. Select the edge mapping E and open the dialog for its "Source Mapping" feature.
3. "A" (the current source) is on the right, "B" is available on the left. So far so good.
4. Select "A" and either double click or click on the "Remove" button. "A" disappears from the right-side (OK), but does not re-appear on the left (KO).
5. Close the dialog with "OK" (validating the removal of "A").
6. Reopen the dialog: "A" is now correctly visible on the left.
Comment 2 Eclipse Genie CLA 2016-11-24 15:54:53 EST
New Gerrit change created: https://git.eclipse.org/r/85723
Comment 3 Eclipse Genie CLA 2017-04-21 08:17:44 EDT
New Gerrit change created: https://git.eclipse.org/r/95459
Comment 5 Pierre-Charles David CLA 2017-05-03 08:48:05 EDT
Fixed by d3ea514b60fb462f230f6f32b2f689d787fd277a.
Comment 6 Jessy Mallet CLA 2017-05-15 11:26:35 EDT
Validated with Sirius 5.0.0.201705121003
Comment 7 Pierre-Charles David CLA 2017-05-17 03:22:06 EDT
Verified by Jessy.
Comment 8 Pierre-Charles David CLA 2017-06-29 03:32:12 EDT
Available in Sirius 5.0.0, see https://wiki.eclipse.org/Sirius/5.0.0 for details.