Bug 498259 - Switching tabs in the property view breaks buttons defined in other tabs
Summary: Switching tabs in the property view breaks buttons defined in other tabs
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Properties (show other bugs)
Version: 4.0.0   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: 4.1.2   Edit
Assignee: Project Inbox CLA
QA Contact: Florian Barbin CLA
URL:
Whiteboard: needtest
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-07-21 05:13 EDT by Arthur Daussy CLA
Modified: 2016-12-08 11:13 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).