Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364135 - [Property View] Bad section refresh with dynamic sections
Summary: [Property View] Bad section refresh with dynamic sections
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Camille Letavernier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-18 06:02 EST by Anne WALTER CLA
Modified: 2012-06-21 10:05 EDT (History)
1 user (show)

See Also:


Attachments

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