portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r489202 - /portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/impl/FragmentImpl.java
Date Wed, 20 Dec 2006 21:31:01 GMT
Author: taylor
Date: Wed Dec 20 13:31:00 2006
New Revision: 489202

URL: http://svn.apache.org/viewvc?view=rev&rev=489202
Log:
http://issues.apache.org/jira/browse/JS2-633
nested layout broken with permission security enabled
apply to db page manager as well
patched by ensuring that the secured fragment list is never null, instead return an empty
list

Modified:
    portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/impl/FragmentImpl.java

Modified: portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/impl/FragmentImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/impl/FragmentImpl.java?view=diff&rev=489202&r1=489201&r2=489202
==============================================================================
--- portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/impl/FragmentImpl.java
(original)
+++ portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/impl/FragmentImpl.java
Wed Dec 20 13:31:00 2006
@@ -1041,7 +1041,7 @@
                 }
                 else
                 {
-                    return null;
+                    return new FilteredFragmentList(this, filteredFragments);
                 }
             }
         }



---------------------------------------------------------------------
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