Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313099 - [Wizard] Validate file name on NewModelFilePage
Summary: [Wizard] Validate file name on NewModelFilePage
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tatiana Fesenko CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-17 05:58 EDT by Tatiana Fesenko CLA
Modified: 2010-06-07 10:41 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tatiana Fesenko CLA 2010-05-17 05:58:16 EDT
Open New Papyrus Model wizard. On first page (NewModelFilePage) the user can change a name of the diagram being created. The user can modify file extension, more over, the whole name (including file extension) is selected by default in the text control. 
So, input a file name with no file extension. There will be no error nor warning message on the page. The diagram will be created in a file without a proper extension. 
As a result, a newly created diagram will be opened as XML in a text editor. 

Solution:
1. Prohibit incorrect file extension.
or
2. Automatically add a proper file extension to a model file name
Comment 1 Tatiana Fesenko CLA 2010-06-07 10:41:31 EDT
Fixed -- diagram file extension is added automatically