Please use the Apache issue tracking system for new NetBeans issues ( !!

Bug 123404

Summary: Changes to Templates options panel are not properly persisted
Product: uml Reporter: Craig Conover <conover>
Component: GeneralAssignee: Craig Conover <conover>
Status: VERIFIED FIXED QA Contact: issues <>
Priority: P2 CC: mmirilovic, sustaining
Version: 6.x   
Target Milestone: 6.x   
Hardware: All   
OS: All   
Whiteboard: release601_fixes_candidate2, release601_fixes_fixed
Issue Type: DEFECT Exception Report:

Description Craig Conover 2007-12-04 22:53:30 UTC
1) Open Tools|Options, UML, Templates: add a new domain template (Element Type:Class Stereotype:foo use any template file)
2) Create a class element with foo as stereotype. 
3) Generate Code - in dialog, enable the new template, click OK
Result: no template found for the new element with the foo stereotype.

After the new domain template is added, click the option OK button. Open options again and click OK. This second OK
seems to persist the change properly.
Comment 1 Craig Conover 2007-12-04 22:58:31 UTC
Upon further investigation, it is the Stereotype and Output Parameter properties that are not being persisted properly.
Comment 2 Craig Conover 2007-12-05 00:23:42 UTC
The problem was with Stereotype and Output Parameters fields. The changes were not being pushed into the DOM like the
Element Type field was.

The issues have been corrected and checkin of fix awaits approval for release 60 fix candidate.
Comment 3 Craig Conover 2007-12-05 00:26:21 UTC
Problem also with the Description field as well.
Comment 4 Craig Conover 2007-12-06 18:02:05 UTC
fix checked in to trunk and unstable_uml_visualcomponent branch
Comment 5 Petr Blaha 2008-02-01 12:32:14 UTC
The bug wasn't verified before cut-off date for 6.0.1patch1 and will be included in 6.0.1patch2.
Comment 6 Peter Lam 2008-02-22 23:32:31 UTC
verified in NB 6.1 build 200802191203.
Also verified in latest Meteora build (unstable_uml_visualcomponent branch).
Comment 7 Marian Mirilovic 2008-02-26 12:12:49 UTC
Comment 8 khu 2008-03-05 18:48:34 UTC
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  <-- 
new revision:; previous revision: 1.13
Checking in;
/cvs/uml/codegen/src/org/netbeans/modules/uml/codegen/ui/Attic/,v  <--
new revision:; previous revision: 1.27
Checking in;
/cvs/uml/codegen/src/org/netbeans/modules/uml/codegen/dataaccess/Attic/,v  <--
new revision:; previous revision: 1.7
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo