You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by aj...@apache.org on 2009/04/06 14:03:12 UTC

svn commit: r762301 - /incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/HandlerInfo.java

Author: ajaquith
Date: Mon Apr  6 12:03:12 2009
New Revision: 762301

URL: http://svn.apache.org/viewvc?rev=762301&view=rev
Log:
Fixed bug in HandlerInfo that was preventing evaluation of permissions when <null> pages were set.

Modified:
    incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/HandlerInfo.java

Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/HandlerInfo.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/HandlerInfo.java?rev=762301&r1=762300&r2=762301&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/HandlerInfo.java (original)
+++ incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/HandlerInfo.java Mon Apr  6 12:03:12 2009
@@ -400,7 +400,7 @@
             {
                 target = value.toString();
             }
-            if( target == null )
+            if( value == null || target == null )
             {
                 // If the target didn't evaluate, assume it's because some
                 // property wasn't set (probably normal)