[Uml-devel] [Bug 135794] Umbrello has lost 2 diagrams from .XMI

Oliver Kellogg okellogg at users.sourceforge.net
Tue Oct 17 18:06:50 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=135794         
okellogg users sourceforge net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From okellogg users sourceforge net  2006-10-17 20:06 -------
SVN commit 596128 by okellogg:

load(): Keep loading even after some error occurred in the child-node load.


 M  +5 -2      folder.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/folder.cpp #596127:596128
 @ -338,8 +338,11  @
             //CHECK: Umbrello currently assumes that nested elements
             // are ownedElements anyway.
             // Therefore these tags are not further interpreted.
-            if (! load(tempElement))
-                return false;
+            if (! load(tempElement)) {
+                kdDebug() << "An error happened while loading the " << type
+                    << " of the " << m_Name << endl;
+                totalSuccess = false;
+            }
             continue;
         } else if (type == "XMI.extension") {
             for (QDomNode xtnode = node.firstChild(); !xtnode.isNull();




More information about the umbrello-devel mailing list