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 78767 - All parameter/attribute types replaced with int after promote design pattern
Summary: All parameter/attribute types replaced with int after promote design pattern
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Synchronization (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Kris Richards
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-21 13:00 UTC by bugbridge
Modified: 2006-10-16 16:00 UTC (History)
1 user (show)

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 bugbridge 2006-06-21 13:00:31 UTC
steps to reproduce:
0. create project in design center
1. create class diagram
2. add pattern to the diagram
3. bind class role with the pattern
4. add operation 'public void op( Vector par)' to the class
5. propagate pattern to design center
6. check operation in design center
Vector is replaced with int

The same for attributes, try to add private String log attribute to class role
And for return types, add operation with String return type, check types after
propagation, return type is replaced with void, attribute type is replaced with int.

reproducible with coke060619
Comment 1 Kris Richards 2006-10-12 22:15:02 UTC
cloning was not working properly. Needed to resolve/create new data types.

there is a followup problem; dependecies do not seem to be cloned during an apply of a design pattern.
Comment 2 Sergey Petrov 2006-10-16 16:00:48 UTC
verified with 061015