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

Bug 358174

Summary: No alert message shown when selected a duplicate interface
Product: z_Archived Reporter: Xin Wu <cdlwuxin>
Component: EDTAssignee: Zhi Zhu <zhuzhi>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cdlwuxin, chenzhh, zhuzhi
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Xin Wu CLA 2011-09-19 23:31:39 EDT
Build Identifier: 20110919 nightly build

When creating service, open the interface selection wizard. No alert message shown when selected a duplicate interface.

Reproducible: Always

Steps to Reproduce:
1. Create Web Client with Service Project
2. Create interface "Interface1" in common package
3. Right click on server package->new->service, add "Interface1" in "interface to implemented"
4. Click the add interface again, the "Interface1" still there for it already been added, 
5. Select the interface1, the "Add" and "OK" button still enabled. There should be message if an added interface selected or just remove the interface from the list
Comment 1 Zhi Zhu CLA 2011-10-10 03:18:59 EDT
for this case, there will be warning indicating the interface is already added.

Modify: InterfaceSelectionDialog
Comment 2 Xin Wu CLA 2011-10-11 22:31:33 EDT
Verified in build 20111011