Author: julien_viet
Date: 2011-08-29 11:27:40 -0400 (Mon, 29 Aug 2011)
New Revision: 7249
Modified:
portal/trunk/component/portal/src/test/java/org/exoplatform/portal/mop/navigation/TestNavigationServiceSave.java
Log:
GTNPORTAL-2057 : NPE during transitive remove of transient node
Modified:
portal/trunk/component/portal/src/test/java/org/exoplatform/portal/mop/navigation/TestNavigationServiceSave.java
===================================================================
---
portal/trunk/component/portal/src/test/java/org/exoplatform/portal/mop/navigation/TestNavigationServiceSave.java 2011-08-29
15:24:55 UTC (rev 7248)
+++
portal/trunk/component/portal/src/test/java/org/exoplatform/portal/mop/navigation/TestNavigationServiceSave.java 2011-08-29
15:27:40 UTC (rev 7249)
@@ -1056,7 +1056,7 @@
//
NavigationContext navigation =
service.loadNavigation(SiteKey.portal("remove_added"));
Node root = service.loadNode(Node.MODEL, navigation, Scope.GRANDCHILDREN,
null).getNode();
- root.addChild("foo").getHandle();
+ root.addChild("foo");
root.removeChild("foo");
service.saveNode(root.context, null);
Show replies by date