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

Bug 364135

Summary: [Property View] Bad section refresh with dynamic sections
Product: [Modeling] Papyrus Reporter: Anne WALTER <anne.walter>
Component: CoreAssignee: Camille Letavernier <cletavernier>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipse-bugzilla
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Anne WALTER CLA 2011-11-18 06:02:04 EST
Build Identifier: 

A dynamic section may be displayed twice with the following scenario:
- this section is not displayed at the creation of the property page.
- a change in another section of the property page makes this section available => 'refreshSection' is called within the org.eclipse.papyrus.properties.runtime.DefaultDisplayEngine class
- the property page is displayed again (hide/show) => 'createSection' is called within the org.eclipse.papyrus.properties.runtime.DefaultDisplayEngine class. As the displayedSections attribute has never been filled with this section (refreshSection does not do it), the section is built a second time.

Reproducible: Always
Comment 1 Camille Letavernier CLA 2011-11-30 08:46:08 EST
Fixed in r6330 (Branch 0.8.X)
Comment 2 Camille Letavernier CLA 2012-06-21 10:05:22 EDT
The patch had been merged to the trunk in r6338, I close the task.