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

Bug 498259

Summary: Switching tabs in the property view breaks buttons defined in other tabs
Product: [Modeling] Sirius Reporter: Arthur Daussy <arthur.daussy_ssii>
Component: PropertiesAssignee: Project Inbox <sirius.properties-inbox>
Status: CLOSED FIXED QA Contact: Florian Barbin <florian.barbin>
Severity: major    
Priority: P3 CC: florian.barbin, melanie.bats, pierre-charles.david, steve.monnier
Version: 4.0.0Keywords: triaged
Target Milestone: 4.1.2   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/85595
https://git.eclipse.org/c/eef/org.eclipse.eef.git/commit/?id=d617ef1dd356d2548bd9a44b1b91caeb6b8dd433
Whiteboard: needtest

Description Arthur Daussy CLA 2016-07-21 05:13:32 EDT
Hi,

 For a semantic element we have defined one Page that references 3 Groups. On each group we have defined a reference widget with some actions (basically set the EReference using a java service). When I switch from a tab to another and then I switch back to the first tab. All action/button are broken. The java service is not even called.

Regards,

Arthur
Comment 1 Steve Monnier CLA 2016-07-21 08:23:51 EDT
Hi,
thanks for your detailled bug report.
Comment 2 Pierre-Charles David CLA 2016-11-22 11:24:24 EST
Moving to 4.1.2 to at least try to reproduce/understand the issue. We'll try to fix it for that version if it's simple enough, but it may slip to a later version.
Comment 3 Melanie Bats CLA 2016-11-23 09:38:41 EST
To reproduce the issue, create 2 pages (A and B) with A containing a List with an action button. 
Open the page A, click on the action button, the callback is called.
Switch to page B.
Switch back to page A.
Click on the action button, the callback is not called anymore.
Comment 4 Eclipse Genie CLA 2016-11-23 10:10:25 EST
New Gerrit change created: https://git.eclipse.org/r/85595
Comment 7 Florian Barbin CLA 2016-12-01 09:53:45 EST
Verified on Sirius 4.1.2.201612011000.
Comment 8 Pierre-Charles David CLA 2016-12-08 11:13:12 EST
Available in Sirius 4.1.2 (see https://wiki.eclipse.org/Sirius/4.1.2 for details).