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.
Summary: | Two Domain Templates with same mappings - only one is used during code generation | ||
---|---|---|---|
Product: | uml | Reporter: | Craig Conover <conover> |
Component: | Code Generation | Assignee: | Craig Conover <conover> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | mmirilovic, sustaining |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Craig Conover
2007-11-30 19:55:41 UTC
Solution was to check if a particular elementType:stereotype key already existed in the domain template hashmap. If so, get the value (list of templates) and add the new templates to the end of that list and add back to the hashmap. fix checked in to trunk and unstable_uml_visualcomponent branch The bug wasn't verified before cut-off date for 6.0.1patch1 and will be included in 6.0.1patch2. verified in NB 6.1 build 200802191203. Also verified in latest Meteora build (unstable_uml_visualcomponent branch). The fix has been ported into the release601_fixes branch Checking in DomainTemplatesManagerPanel.form; /cvs/uml/codegen/src/org/netbeans/modules/uml/codegen/ui/Attic/DomainTemplatesManagerPanel.form,v <-- DomainTemplatesManagerPanel.form new revision: 1.13.6.1; previous revision: 1.13 done Checking in DomainTemplatesManagerPanel.java; /cvs/uml/codegen/src/org/netbeans/modules/uml/codegen/ui/Attic/DomainTemplatesManagerPanel.java,v <-- DomainTemplatesManagerPanel.java new revision: 1.27.6.1; previous revision: 1.27 done Checking in DomainTemplatesRetriever.java; /cvs/uml/codegen/src/org/netbeans/modules/uml/codegen/dataaccess/Attic/DomainTemplatesRetriever.java,v <-- DomainTemplatesRetriever.java new revision: 1.7.6.1; previous revision: 1.7 done |