You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by at...@apache.org on 2006/05/28 23:40:28 UTC
svn commit: r409997 -
/portals/jetspeed-2/trunk/components/registry/src/java/org/apache/jetspeed/components/portletentity/PortletEntityImpl.java
Author: ate
Date: Sun May 28 14:40:28 2006
New Revision: 409997
URL: http://svn.apache.org/viewvc?rev=409997&view=rev
Log:
Fixing stupid bug of myself using a *static* ThreadLocal instead of an instance level one.
As result, the wrong fragment could be "seen" by the PortletEntity causing for instance a wrong set of allowed decorator actions.
Modified:
portals/jetspeed-2/trunk/components/registry/src/java/org/apache/jetspeed/components/portletentity/PortletEntityImpl.java
Modified: portals/jetspeed-2/trunk/components/registry/src/java/org/apache/jetspeed/components/portletentity/PortletEntityImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/registry/src/java/org/apache/jetspeed/components/portletentity/PortletEntityImpl.java?rev=409997&r1=409996&r2=409997&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/registry/src/java/org/apache/jetspeed/components/portletentity/PortletEntityImpl.java (original)
+++ portals/jetspeed-2/trunk/components/registry/src/java/org/apache/jetspeed/components/portletentity/PortletEntityImpl.java Sun May 28 14:40:28 2006
@@ -93,7 +93,7 @@
private Fragment fragment;
- private static ThreadLocal fragmentPortletDefinition = new ThreadLocal();
+ private ThreadLocal fragmentPortletDefinition = new ThreadLocal();
public PortletEntityImpl(Fragment fragment)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org