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

Bug 358067

Summary: The DD editor should not let user import the current DD file
Product: z_Archived Reporter: Xin Wu <cdlwuxin>
Component: EDTAssignee: Tony Chen <chenzhh>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cdlwuxin, chenzhh, jspadea
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Xin Wu CLA 2011-09-19 03:58:20 EDT
Build Identifier: 20110918 nightly build

When import DD file to the current file, the DD editor should not let user select the current DD file

Reproducible: Always

Steps to Reproduce:
1. Create Web Client Project
2. Open DD file by DD editor, switch to "Import" tab
3. Open the DD file browser
4. User can add current DD file by browser. This should not be.
Comment 1 Tony Chen CLA 2011-10-08 05:40:34 EDT
Fixed. 

If user select the currect dd, error message will say:
Choose an deployment descriptor other then the current one.

If user select a dd which is already imported, error message will say:
Selected deployment descriptor is already imported.

In both cases, user can not proceed to click OK

I'll get Theresa review the message.
Comment 2 Xin Wu CLA 2011-10-11 22:12:45 EDT
Verified in build 20111011
Comment 3 Justin Spadea CLA 2012-03-13 16:20:25 EDT
*** Bug 357964 has been marked as a duplicate of this bug. ***