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

Bug 358066

Summary: Can not Deploy if imported DD file changed to invalid name
Product: z_Archived Reporter: Xin Wu <cdlwuxin>
Component: EDTAssignee: Tony Chen <chenzhh>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cdlwuxin, chenzhh, smythew
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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

Can not Deploy if imported DD file changed to invalid name

Reproducible: Always

Steps to Reproduce:
1. Create two Web Client Project "Project1" and "Project2"
2. Open DD file in "Project1" by DD editor, switch to "Import" tab
3. Import DD file of "Project2".
4. Click the DD file imported in the table, rename to an invalid file path
5. Save the file, shows no error message.
6. Click the deploy icon, it doesn't deploy.
Comment 1 Tony Chen CLA 2011-10-08 03:41:55 EDT
Don't know why we would allow user to edit the imported DD file name. I think user will always use "add" to add an existing dd file to the import list. If that file was renamed or removed. User can remove and re-add the correct file. (the best would be our refactoring function can handle renaming a dd file and update all the referenced dd accordingly). 

I'll just make that field read only unless somebody feel this function is important.
Comment 2 Tony Chen CLA 2011-10-08 03:44:55 EDT
btw, Will has talked about a new design to let user better control the reference to a resource defined in another dd. So we would not want to spend time improving this import dd function if it is going to be replaced soon.
Comment 3 Tony Chen CLA 2011-10-08 03:50:02 EDT
fixed by disable the edit function.
Comment 4 Xin Wu CLA 2011-10-11 22:08:22 EDT
Verified in build 20111011