Project: appceleratorstudio
Issue TISTUD-1114: Titanium Studio: Projects: new project with same name overwrites existing files
Creating a new project overwrites existing files. OSX: If a new project is created with the same name as an existing project in the workspace, all default files are overwritten. OSX-specific: If a new project is created with the same name, but different capitalization, the original files are all overwritten, but the project folder retains the original capitalization, and the studio interface shows the new project name as it was overwritten in the new project settings file. Linux: If a new project is created with the same name as an existing project in the workspace, all default files are overwritten. Steps to Reproduce: 1. Create a new project called MyProject. 2. Edit the app.js file to make a meaningful change. 2. Delete the project from studio without removing it from disk. 3. Create a new project called MyProject. Expected Result: Studio should show an error message indicating the project already exists. Actual Result: The new project is created and any default files are overwritten. An OSX-specific issue occurs when the new project has the same name with different capitalization. When the new project is created, the original files are overwritten and the original folder keeps it's old capitalization, but the studio ui representation of the project shows the new capitalization.
Story points: 8