People might be running 2.3 for some time, so I'll probably fix it for 2.3
even so.
--a.
----- Original Message -----
From: "Allen Gilliland" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, August 08, 2006 9:31 AM
Subject: Re: IfModifiedWeblogPageCacheFilter IllegalArgumentException
This may be an obsolete issue since all of the old caching filters have
been removed in Roller 3.0 and replaced with new code. To tell the truth,
I actually couldn't even figure out why that code was doing that when I
went to replace it :/
-- Allen
Anil Gangolli wrote:
I've filed
http://opensource.atlassian.com/projects/roller/browse/ROL-1201 based on
this e-mail.
Watch it if you want to track progress.
--a.
----- Original Message ----- From: "gregh" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, August 08, 2006 5:54 AM
Subject: IfModifiedWeblogPageCacheFilter IllegalArgumentException
Hello,
This code:
if (updateTime != null) {
// convert date (JDK 1.5 workaround)
String date = dateFormatter.format(updateTime);
updateTime = new Date(date);
if (updateTime.compareTo(sinceDate) <= 0) {
mLogger.debug("NOT_MODIFIED " + key);
response.setStatus(HttpServletResponse.SC_NOT_MODIFIED);
return;
}
}
always throws an exception in new Date(date) and never gets to the
return,
when using JDK1.5.
Not sure if the filter is doing what it is supposed to when the code is
modified ie updateTime = dateFormatter.parse(date);
Cheers greg.
--
View this message in context:
http://www.nabble.com/IfModifiedWeblogPageCacheFilter-IllegalArgumentException-tf2072474s12275.html#a5705791
Sent from the Roller - Dev forum at Nabble.com.