jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajaqu...@apache.org
Subject svn commit: r762301 - /incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/HandlerInfo.java
Date Mon, 06 Apr 2009 12:03:12 GMT
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)



Mime
View raw message