Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355173 - List controlled page book can bind to the wrong list control
Summary: List controlled page book can bind to the wrong list control
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Komissarchik CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-18 18:35 EDT by Ling Hao CLA
Modified: 2021-11-19 09:21 EST (History)
2 users (show)

See Also:


Attachments
Repro Patch (17.91 KB, patch)
2011-08-18 18:35 EDT, Ling Hao CLA
no flags Details | Diff

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