portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r1689981 - /portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/aggregator/impl/PortletRendererImpl.java
Date Thu, 09 Jul 2015 03:28:48 GMT
Author: taylor
Date: Thu Jul  9 03:28:48 2015
New Revision: 1689981

URL: http://svn.apache.org/r1689981
Log:
tests were intermittently failing. Moving PortalConfiguration retrieval to start() method
to ensure spring container init

Modified:
    portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/aggregator/impl/PortletRendererImpl.java

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/aggregator/impl/PortletRendererImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/aggregator/impl/PortletRendererImpl.java?rev=1689981&r1=1689980&r2=1689981&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/aggregator/impl/PortletRendererImpl.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/aggregator/impl/PortletRendererImpl.java
Thu Jul  9 03:28:48 2015
@@ -115,9 +115,6 @@ public class PortletRendererImpl impleme
         this.checkSecurityConstraints = checkSecurityConstraints;
         this.accessController = accessController;
         this.portletContentCache = portletContentCache;
-        if (Jetspeed.getConfiguration() != null) {
-            this.autoRefreshEnabled = Jetspeed.getConfiguration().getBoolean(PortalConfigurationConstants.AUTO_REFRESH_ENABLED,
true);
-        }
     }
 
     public PortletRendererImpl(PortletContainer container, 
@@ -135,7 +132,9 @@ public class PortletRendererImpl impleme
     
     public void start()
     {
-        // workMonitor.start();
+        if (Jetspeed.getConfiguration() != null) {
+            this.autoRefreshEnabled = Jetspeed.getConfiguration().getBoolean(PortalConfigurationConstants.AUTO_REFRESH_ENABLED,
true);
+        }
     }
 
     public void stop()



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message