Author: hfnukal
Date: 2011-08-04 10:00:58 -0400 (Thu, 04 Aug 2011)
New Revision: 6993
Modified:
epp/portal/branches/EPP_5_2_Branch/wsrp-integration/extension-component/src/main/java/org/gatein/integration/wsrp/structure/MOPConsumerStructureProvider.java
Log:
JBEPP-1036 Unknown error when edit dashboard with more than 2 gadgets
Modified:
epp/portal/branches/EPP_5_2_Branch/wsrp-integration/extension-component/src/main/java/org/gatein/integration/wsrp/structure/MOPConsumerStructureProvider.java
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/wsrp-integration/extension-component/src/main/java/org/gatein/integration/wsrp/structure/MOPConsumerStructureProvider.java 2011-08-04
13:50:24 UTC (rev 6992)
+++
epp/portal/branches/EPP_5_2_Branch/wsrp-integration/extension-component/src/main/java/org/gatein/integration/wsrp/structure/MOPConsumerStructureProvider.java 2011-08-04
14:00:58 UTC (rev 6993)
@@ -272,6 +272,9 @@
public void addWindow(String windowName, String uuid)
{
+
+ if(windowName==null) windowName=uuid;
+
// add suffix in case we have several windows with the same name in the page
if (childrenWindows.containsKey(windowName))
{