Author: chris.laprun(a)jboss.com
Date: 2012-01-17 11:32:16 -0500 (Tue, 17 Jan 2012)
New Revision: 8300
Modified:
epp/portal/branches/EPP_5_2_Branch/wsrp-integration/extension-component/src/main/java/org/gatein/integration/wsrp/structure/MOPConsumerStructureProvider.java
Log:
- Preventive fix for GTNPORTAL-2329, which might get introduced by a code refresh from
GateIn.
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 2012-01-17
15:29:03 UTC (rev 8299)
+++
epp/portal/branches/EPP_5_2_Branch/wsrp-integration/extension-component/src/main/java/org/gatein/integration/wsrp/structure/MOPConsumerStructureProvider.java 2012-01-17
16:32:16 UTC (rev 8300)
@@ -272,6 +272,12 @@
public void addWindow(String windowName, String uuid)
{
+ // if we don't have a window name, use the UUID
+ if (ParameterValidation.isNullOrEmpty(windowName))
+ {
+ windowName = uuid;
+ }
+
// add suffix in case we have several windows with the same name in the page
if (childrenWindows.containsKey(windowName))
{
Show replies by date