[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Mon Oct 16 19:22:29 UTC 2006


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