Author: mwringe
Date: 2010-02-19 13:26:44 -0500 (Fri, 19 Feb 2010)
New Revision: 1786
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationManagement.java
Log:
GTNPORTAL-689: save the current edited navigational page instead of just re-saving the old
page. This will fix the issues where the navigation is not persisted after logging out of
the portal.
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationManagement.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationManagement.java 2010-02-19
15:16:44 UTC (rev 1785)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationManagement.java 2010-02-19
18:26:44 UTC (rev 1786)
@@ -125,7 +125,7 @@
UserPortalConfig portalConfig =
portalConfigService.getUserPortalConfig(navigation.getOwnerId(),
prContext.getRemoteUser());
if(portalConfig != null)
{
- dataService.save(persistNavigation);
+ dataService.save(navigation);
} else {
UIApplication uiApp = Util.getPortalRequestContext().getUIApplication();
uiApp.addMessage(new
ApplicationMessage("UIPortalForm.msg.notExistAnymore", null));