summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2013-09-19 09:54:52 (EDT)
committerStephan Born2013-10-23 12:15:25 (EDT)
commit3118daa703b238a2cd0efde2292bbcc65f85e647 (patch)
tree6445379b454d5db459c4c9d0fc7c24adbe996d28
parent124c2defd9430543a8f0e15056f5eb6775653ffb (diff)
downloadorg.eclipse.stardust.ui.web-3118daa703b238a2cd0efde2292bbcc65f85e647.zip
org.eclipse.stardust.ui.web-3118daa703b238a2cd0efde2292bbcc65f85e647.tar.gz
org.eclipse.stardust.ui.web-3118daa703b238a2cd0efde2292bbcc65f85e647.tar.bz2
Jira-ID: CRNT-30601
Changed not null check to emtpy check for viewParams , while setting current view params. git-svn-id: https://svn.csa.sungard.com/repos/ipp2/product/trunk/stardust/ui.web@67422 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b Signed-off-by: Sidharth Singh <sidharth.singh@sungard.com>
-rw-r--r--portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/PortalUiController.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/PortalUiController.java b/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/PortalUiController.java
index 41ddbd5..3797041 100644
--- a/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/PortalUiController.java
+++ b/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/PortalUiController.java
@@ -672,7 +672,7 @@ public class PortalUiController
}
// replace map
- if (view != null && params != null && params.get("doNotCopyParams") == null)
+ if (view != null && !params.isEmpty() && params.get("doNotCopyParams") == null)
{
view.setViewParams(params);
}
@@ -731,7 +731,7 @@ public class PortalUiController
// Default createView = true
String createView = params.get("createView");
boolean create = isEmpty(createView) ? true : Boolean.parseBoolean(createView);
-
+
if (!create && null == findView(viewId, viewKey))
{
MessageDialog.addErrorMessage(MessagePropertiesBean.getInstance().getParamString(