Revision 661210
Go back to digest for 6th May 2007Features in Development Tools
Oliver Kellogg committed changes in /branches/KDE/3.5/kdesdk/umbrello:
It seems that a previous version of Umbrello could create XMI files where some model objects were missing. This is a workaround so that Umbrello at least doesn't crash on loading such a file:
validateObjType(): Pass in the UMLObject* by reference. Add a Uml::IDType arg.
When the UMLObject* is NULL then create a new object with an artificial name, "LOST_" followed by the id, and set its ID to the arg passed in.
This means that the user needs to manually rename the LOST_ items after loading a corrupted file. Sorry.
File Changes
Modified 2 files
- /branches/KDE/3.5/kdesdk/umbrello
- /ChangeLog
- /umbrello/widget_factory.cpp
2 files changed in total