Bug 132958 - undo in diagram breaks code-generation available classes
Summary: undo in diagram breaks code-generation available classes
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2006-08-25 10:41 UTC by Andrew Bramble
Modified: 2014-01-04 11:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Bramble 2006-08-25 10:41:30 UTC
Version:           1.5.4 (using KDE KDE 3.5.1)
Installed from:    Compiled From Sources
Compiler:          gcc 
OS:                Linux

I have noticed that after an undo the list of available classes in Code->Code Generation Wizard is limited to classes that are not contained by any thing. 
To reproduce. 

Add class "Car"
Add class "Wheel"
connect with a Containment. 

Code Generation wizard shows
Car
Car::Wheel

Add note
Type some thing in the note.

Choose Edit->Undo

Code Generation wizard shows
Car

Generate All Code only creates the Car class

This occurs on SLED10, with  Umbrello 1.5.4 built from source .
Comment 1 FiNeX 2009-08-09 14:36:56 UTC
On current trunk the code generator only shows and generate the Car class too (even without doing the undo)
Comment 2 Joris Steyn 2014-01-04 11:28:26 UTC
This has been fixed. It happened when creating the classes via the list view - Umbrello was not signalled correctly of object creation. When saving and re-loading the XMI, everything worked fine.