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

Bug 358854

Summary: SQL database binding resources should not let user create duplicate name
Product: z_Archived Reporter: Xin Wu <cdlwuxin>
Component: EDTAssignee: Zhi Zhu <zhuzhi>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: cdlwuxin, jspadea, zhuzhi
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Xin Wu CLA 2011-09-26 03:52:43 EDT
Build Identifier: 20110924 nightly build

SQL database binding resources should not let user create duplicate name

Reproducible: Always

Steps to Reproduce:
1. Create new Web Client with Service Project
2. Open DD file by DD editor, switch to Resource binding tab
3. Add two SQL database resource binding
4. The two binding can have duplicate name, there should be alert message if this happened.
Comment 1 Justin Spadea CLA 2011-09-26 10:09:02 EDT
Rather than an alert, why not just make it a unique name? "bindingName", "bindingName1", "bindingName2", etc.
Comment 2 Zhi Zhu CLA 2011-09-30 01:46:43 EDT
fix it based on Justin's feedback
Comment 3 Xin Wu CLA 2011-10-11 22:05:07 EDT
Verified in build 20111011