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

Bug 355173

Summary: List controlled page book can bind to the wrong list control
Product: z_Archived Reporter: Ling Hao <ling.hao>
Component: SapphireAssignee: Konstantin Komissarchik <konstantin>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ling.hao, ram.venkataswamy
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Repro Patch none

Description Ling Hao CLA 2011-08-18 18:35:45 EDT
Created attachment 201755 [details]
Repro Patch

Apply the patch to org.eclipse.sapphire.samples.contacts package
contacts.xml -> store managers
Select Async store manager, create a parameter
In Binary store manager, select store manager1, create a parameter, type something in the description and notice that the same text appears in the description for the async store manager.
Comment 1 Ling Hao CLA 2011-08-18 18:36:36 EDT
Ram's Bug 12865969
Comment 2 Konstantin Komissarchik CLA 2011-08-19 11:27:33 EDT
This problem happens if on a single composite you render two list property editors for different elements, but using the same list property name/metamodel. The manner in which list controlled page book searches for the list control to bind to does not take into account the model element, so it would always find the first list control associated with a given list property name.
Comment 3 Konstantin Komissarchik CLA 2011-08-19 11:35:53 EDT
Fixed in 0.3.1 and 0.4 streams. Thanks for the repro patch.
Comment 4 Konstantin Komissarchik CLA 2011-08-19 11:36:19 EDT
Fixed. Please verify.
Comment 5 Ram Venkataswamy CLA 2011-08-26 21:06:30 EDT
verified
Comment 6 Konstantin Komissarchik CLA 2011-08-27 21:41:57 EDT
Closing.