Bug 140869

Summary: XMI files, data lost upon save and reopen
Product: [Applications] umbrello Reporter: SasQ <sasq>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: guerrero.alado
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: File saved from this setting, which Umbrello can't load back

Description SasQ 2007-01-30 03:40:24 UTC
Version:           1.5.5 (using KDE KDE 3.5.5)
Installed from:    Gentoo Packages
Compiler:          gcc 3.3.5-20050130 Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1
OS:                Linux

1. File -> New
2. Create new subfolder under Use case perspective
3. Create new Use case diagram in that new folder
4. Create actor, use case, link it... create some visible stuff
5. Save it to XMI file, close application, reopen it, and here's the kicker:
You have big nothing in the Use case diagram :P
All previously created data is lost!
Not good, the data integrity is the most important thing to have users happy.

And here's the console output after openning Umbrello with that previously saved file:

---cut start: console output---
$ umbrello
umbrello: ERROR: makeWidgetFromXMI: cannot find object with id 24
umbrello: ERROR: makeWidgetFromXMI: cannot find object with id 25
umbrello: ERROR: AssociationWidget::loadFromXMI(): cannot find widget for roleA id 25
umbrello: ERROR: couldn't loadFromXMI association widget:0x85a6180, bad XMI file? Deleting from umlview.
---cut end: console output---
Comment 1 SasQ 2007-01-30 03:50:04 UTC
Created attachment 19478 [details]
File saved from this setting, which Umbrello can't load back

Try to open this file, generated by Umbrello [using previously mentioned steps]
and impossible to read back properly.
Comment 2 Oliver Kellogg 2007-01-30 07:51:56 UTC
The KDE 3.5.5 release timing did not fit well with Umbrello due to a major rework which was still in progress.
(For further info, see bugs 135749, 136998, 136940, 129859, 135606, 137497, 137564.)

Works for me with KDE 3.5.6 (Umbrello 1.5.6)
Comment 3 Oliver Kellogg 2007-02-08 19:13:42 UTC
*** Bug 141403 has been marked as a duplicate of this bug. ***