This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 107180

Summary: Code is not generated for old UML projects by default
Product: uml Reporter: Alexandr Scherbatiy <sunflower>
Component: Code GenerationAssignee: Craig Conover <conover>
Status: VERIFIED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: CodeGenerationProject-Model UML project

Description Alexandr Scherbatiy 2007-06-19 12:50:12 UTC
Steps to reproduce:
- Open the attached CodeGenerationProject-Model UML project
- Generate code for the project
  The code is not generated:
  Processing element 1 of 82: Class attributes::PrimitiveDataTypes ... ERROR: No templates defined for the element
Comment 1 Alexandr Scherbatiy 2007-06-19 12:50:59 UTC
Created attachment 43955 [details]
CodeGenerationProject-Model UML project
Comment 2 Craig Conover 2007-06-28 22:10:31 UTC
The Generate Code dialog will now show a status error that no templates have been enabled and the dialog now has a
template enabler panel so that the user can enable the templates that are necessary.
Comment 3 Peter Lam 2007-07-10 08:41:49 UTC
verified in build netbeans-hudson-trunk-1546-full.zip