Author: agilliland
Date: Thu Mar 9 09:52:10 2006
New Revision: 384566
URL: http://svn.apache.org/viewcvs?rev=384566&view=rev
Log:
adding back check for null website as a short term fix for ROL-1078
Modified:
incubator/roller/trunk/src/org/roller/presentation/RollerRequest.java
Modified: incubator/roller/trunk/src/org/roller/presentation/RollerRequest.java
URL:
http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/RollerRequest.java?rev=384566&r1=384565&r2=384566&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/RollerRequest.java
(original)
+++ incubator/roller/trunk/src/org/roller/presentation/RollerRequest.java Thu
Mar 9 09:52:10 2006
@@ -303,11 +303,11 @@
}
// NOTE: let the caller handle missing website/page instead
- //if ( mWebsite==null || mPage==null )
- //{
- //String msg = "Invalid pathInfo: "+StringUtils.join(pathInfo,"|");
- //throw new RollerException(msg);
- //}
+ if ( mWebsite==null || mPage==null )
+ {
+ String msg = "Invalid pathInfo: "+StringUtils.join(pathInfo,"|");
+ throw new RollerException(msg);
+ }
}
//------------------------------------------------------------------------