Bug 73521

Summary: Delete a class and the XMI file will not reload - intermittant
Product: [Applications] umbrello Reporter: Sean Clarke <sean.clarke>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: HI    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sean Clarke 2004-01-26 10:35:45 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    SuSE RPMs
OS:          Linux

When I delete a particular class, save and exit the file fails to reload. Umbrello reports that it is corrupt. 

I have a very good reproduction on a umbrello diagram I have, if anyone would like to investgate I can email it.
Comment 1 Jonathan Riddell 2004-01-31 23:32:04 UTC
It would be good if you could attach a copy of this file (I can confirm the problem on the copy you sent to me but of course the file is now corrupt).
Comment 2 Jonathan Riddell 2004-02-01 00:41:23 UTC
Now available at 
http://muse.19inch.net/~jr/tmp/AE_1_diag_not_updated.xmi.tar.gz

--
Delete all the javax.servlet.xxx entries.
Delete all the javax.xml.soap.xxx entries
Delete javax.xml.messaging.JAXMServlet

Save, and then when you reopen it fails to open the file.

Comment 3 Sean Clarke 2004-02-01 00:46:58 UTC
Just added some votes to this one, I now no longer delete classes as the problem seems to get more common as the size/complexity of the diagrams progress.

Also I wonder if we should raise the priority?
Comment 4 Sean Clarke 2004-03-05 08:48:16 UTC
Investigated a reoccurance of this, I looked through the XML file and found that although the class had been deleted there still was a reference to it in the form of a UML:Generalization element. I deleted it and it all worked fine.
Comment 5 Oliver Kellogg 2004-03-22 21:37:39 UTC
I exactly followed the instructions given by Jonathan
but I cannot reproduce this.
Could you verify that it's still a problem with current CVS?
Thanks.
Comment 6 Jonathan Riddell 2004-03-27 22:16:21 UTC
I can no longer recreate this in CVS.  Entry closed.

Since it's not clear what the problem was it could well still exist, if you have another diagram where it occurs then attach that.

Sorry if this isn't a very satisfactory answer.