Bug 74952

Summary: Code generation wizard doesn't go into packages after reload of .xmi file (second launch)
Product: [Applications] umbrello Reporter: Christopher Mann <contact>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: igorcananea
Priority: NOR    
Version: 1.2   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christopher Mann 2004-02-11 14:39:27 UTC
Version:           1.2 (using KDE KDE 3.1.4)
Installed from:    Debian testing/unstable Packages
Compiler:          G++ 3.3.3 
OS:          Linux

Hi,
When I create a package, 
put classes in it,
and use the code generation wizard, 
things work OK.

I will the reload the file later,
invoke the code generation wizard
and the classes are no longer listed.

I will put classes without a package.
Only those classes without a package are visible in the code generation wizard.

Wow.
Comment 1 Brian Thomas 2004-02-17 19:51:08 UTC
I dont see this behavior in the CVS version. 

I created a file with 2 classes, one which has a package and the other which
is outside of the package. I saved the file, then pulled up the code 
generation wizard and generated the code with no problems.

Can you send me an XMI file that shows your error?
Comment 2 Jonathan Riddell 2004-02-20 00:45:10 UTC
I can't confirm this either.
Comment 3 Jonathan Riddell 2004-02-24 12:38:50 UTC
can't recreate
Comment 4 Igor Chaves Cananéa 2004-03-19 17:14:16 UTC
I recreated this bug with 2 packags. I created a class and two packages. I insert the class in a package then the package in another package:

- package 1
  - package 2
   - Class

I generated the code and saved the xmi.

Upon reloading, the code generated did not generate my class code.
Comment 5 Jonathan Riddell 2004-03-27 20:43:34 UTC
I see the problem now, it does't work for classes which are inside a package which is itself inside a package.

Single nested packages are fine.

Reopened.
Comment 6 Oliver Kellogg 2004-12-26 19:23:28 UTC

*** This bug has been marked as a duplicate of 91434 ***