Bug 166505 - [ProfileDefD] Shoud possible to create ProfileDefinition diagram
Summary: [ProfileDefD] Shoud possible to create ProfileDefinition diagram
Status: VERIFIED FIXED
Alias: None
Product: GMF-Tooling (ARCHIVED)
Classification: Modeling
Component: Samples (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Tatiana Fesenko CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on: 167048
Blocks:
  Show dependency tree
 
Reported: 2006-12-01 11:22 EST by Tatiana Fesenko CLA
Modified: 2012-12-11 15:11 EST (History)
1 user (show)

See Also:


Attachments
Correctly compares file extension (1.37 KB, text/plain)
2006-12-04 14:20 EST, Tatiana Fesenko CLA
no flags Details
Regerenerated with fix for #167048 applied (2.03 KB, patch)
2006-12-07 06:09 EST, Michael Golubev CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tatiana Fesenko CLA 2006-12-01 11:22:52 EST
Build ID:  I20061102-1715

Steps To Reproduce:
1.#164458 Regenerate diagrams with latest stable GMF build
2. Call Profile Diagram Creation Wizard
3.On third page you see 
"File name should have 'profile.uml' extension."
 message for file "default.profile.uml"
It is not possible to create ProfileDef Diagram because of prohibition on this step


More information:
UmlCreationWizard::validatePage() compares equality of extension, which is "profile.uml" and getFilePath().getFileExtension(), which is "uml" (see IPath.getFileExtention())
Comment 1 Tatiana Fesenko CLA 2006-12-04 14:20:20 EST
Created attachment 54983 [details]
Correctly compares file extension
Comment 2 Michael Golubev CLA 2006-12-07 05:52:24 EST
It is rather general GMF problem, not specific for Profile D. 

Instead of ad hoc patch for ProfileD, the general fix for GMF is proposed as
patch for #167048, the profile diagram is regenerated with this patch applied
Comment 3 Michael Golubev CLA 2006-12-07 06:09:33 EST
Created attachment 55211 [details]
Regerenerated with fix for #167048 applied
Comment 4 Michael Golubev CLA 2006-12-07 06:12:58 EST
Patch committed
Comment 5 Michael Golubev CLA 2007-02-01 19:30:23 EST
Fixed in M4b
Comment 6 Nick Boldt CLA 2008-01-28 16:37:56 EST
Move to verified as per bug 206558.