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 87423 - code generation doesn't update transformed element type in src
Summary: code generation doesn't update transformed element type in src
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Code Generation (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Craig Conover
URL:
Keywords: REGRESSION
Depends on: 87424
Blocks: 87400
  Show dependency tree
 
Reported: 2006-10-18 15:41 UTC by Andrew Korostelev
Modified: 2006-10-19 08:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Korostelev 2006-10-18 15:41:59 UTC
code generation invoked for transformed element doesn't update element type in
java source file.

steps to reproduce:
- create java-platform uml project
- create class diagram
- put enumeration on diagram and name it
- generate code.
- transform enum. element on diagram into class
- generate code.

in source file element is still enum.
Comment 1 Andrew Korostelev 2006-10-18 15:48:23 UTC
While element type in source file is not changed, some midifications of
transformed diagram element will nevertheles be adde into source file.
Which may break source.
this case is faled as separate issue 87424
Comment 2 Craig Conover 2006-10-18 23:25:56 UTC
Now we delete the contents of the existing source file and regenerate code for
the current members of the element in the model.
Comment 3 Andrew Korostelev 2006-10-19 08:07:25 UTC
verified in all-nbms-griffin-061018_35
Some problems still exist, but they are not critical and will be filed as
separate issues.