I noticed the sorting problem too (although my test entry
seems to
always be the 3rd most recent, regardless of what's around
it). I'll
fix this before doing the 2.0 release.
On 11/1/06, Patrick Melo <patrick qantel.com> wrote:
> Hi Simon,
>
> I just tested this on the "01 November 2006
06:49:41" nightly build and
> posting now seems to work very nicely. Thanks!
>
> Unfortunately the Sep 8, 2001 post comes up as the most
current post.
> It is followed by a Sep 6, 2001 post etc. I believe
this is because
> 999991200000.xml sorts before 999818400000.xml and both
of them sort
> before 1000164000000.xml.
>
> Thanks,
> Patrick
> ________________________________
>
> From: Simon Brown [mailto:simongbrown gmail.com]
> Sent: Tuesday, October 31, 2006 1:58 AM
> To: Patrick Melo
> Cc: pebble-user lists.sourceforge.net
> Subject: Re: [pebble-user] Posts with a date before Sep
9, 2001
>
>
> Hi Patrick,
>
> I've put in a fix for this and it will be in the 2.0
release, which I'm
> planning to do tomorrow.
>
> Cheers
> Simon
>
> On 10/31/06, Patrick Melo <patrick qantel.com> wrote:
>
> Submit a post with a date before Sep 9, 2001
and it generates an
> error.
> It looks like the date, represented as a long,
is only 12
> characters for
> these dates, whereas, after this date, they are
represented as
> 13
> characters. I'm running a nightly build I
downloaded on October
> 27,
> 2006. Can someone suggest a workaround?
>
> :: page ::
>
> Request URL :
> http://venkman:8080/pebble/themes/qicboy/jsp/template.j
sp
> Request URI :
/pebble/themes/qicboy/jsp/template.jsp
> Query string :
> External URI : /2001/09/07/999904800000.html
> Internal URI :
> Parameters :
>
> :: pebble.log ::
>
> 2006-10-30 15:02:18,791 [http-8080-Processor24]
ERROR
>
>
org.apache.catalina.core.ContainerBase.[Catalina].[localhost
].[/pebble].
> [default] - Servlet.service () for servlet
default threw
> exception
> java.lang.NumberFormatException: For input
string:
> "999904800000."
> at
java.lang.NumberFormatException.forInputString(Unknown
> Source)
> at java.lang.Long.parseLong (Unknown
Source)
> at java.lang.Long.parseLong(Unknown
Source)
> at
>
>
net.sourceforge.pebble.dao.file.FileBlogEntryDAO.getPath(Fil
eBlogEntryDA
> O.java:423)
> at
>
net.sourceforge.pebble.dao.file.FileBlogEntryDAO.loadBlogEnt
ry
> (FileBlogE
> ntryDAO.java:52)
> at
>
>
net.sourceforge.pebble.domain.BlogService.getBlogEntry(BlogS
ervice.java:
> 83)
> at
>
>
net.sourceforge.pebble.permalink.DefaultPermalinkProvider.ge
tBlogEntry(D
> efaultPermalinkProvider.java :107)
> at
>
>
net.sourceforge.pebble.web.filter.UriTransformer.getUri(UriT
ransformer.j
> ava:269)
> at
>
>
net.sourceforge.pebble.web.filter.UriTransformer.getUri(UriT
ransformer.j
> ava:83)
> at
>
>
net.sourceforge.pebble.web.filter.TransformingFilter.doFilte
r(Transformi
> ngFilter.java:86)
> at
>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(Applica
> tionFilterChain.java:202)
> at
>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilt
> erChain.java:173)
> at
>
>
net.sourceforge.pebble.web.filter.PreProcessingFilter.doFilt
er(PreProces
> singFilter.java:169)
> at
>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(Applica
> tionFilterChain.java:202)
> at
>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilt
> erChain.java:173)
> at
>
>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.d
oFilter(Filt
> erChainProxy.java:264)
> at
>
>
org.acegisecurity.intercept.web.FilterSecurityInterceptor.in
voke(FilterS
> ecurityInterceptor.java:97)
> at
>
>
org.acegisecurity.intercept.web.FilterSecurityInterceptor.do
Filter(Filte
> rSecurityInterceptor.java:72)
> at
>
>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.d
oFilter(Filt
> erChainProxy.java :274)
> at
>
>
org.acegisecurity.intercept.web.FilterSecurityInterceptor.in
voke(FilterS
> ecurityInterceptor.java:107)
> at
>
>
org.acegisecurity.intercept.web.FilterSecurityInterceptor.do
Filter(Filte
> rSecurityInterceptor.java :72)
> at
>
>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.d
oFilter(Filt
> erChainProxy.java:274)
> at
>
>
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(Exc
eptionTransl
> ationFilter.java :110)
> at
>
>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.d
oFilter(Filt
> erChainProxy.java:274)
> at
>
>
org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.d
oFilter(Reme
> mberMeProcessingFilter.java :142)
> at
>
>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.d
oFilter(Filt
> erChainProxy.java:274)
> at
>
>
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(Abstr
actProcessin
> gFilter.java :217)
> at
>
>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.d
oFilter(Filt
> erChainProxy.java:274)
> at
>
>
org.acegisecurity.context.HttpSessionContextIntegrationFilte
r.doFilter(H
> ttpSessionContextIntegrationFilter.java :191)
> at
>
>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.d
oFilter(Filt
> erChainProxy.java:274)
> at
>
>
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChain
Proxy.java:1
> 48)
> at
>
>
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBe
anProxy.java
> :90)
> at
>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(Applica
> tionFilterChain.java:202)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilt
> erChain.java:173)
> at
>
>
org.apache.catalina.core.StandardWrapperValve.invoke(Standar
dWrapperValv
> e.java:213)
> at
>
>
org.apache.catalina.core.StandardContextValve.invoke(Standar
dContextValv
>
> e.java:178)
> at
>
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHo
stValve.java
> :126)
> at
>
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.java
> :105)
> at
>
>
org.apache.catalina.core.StandardEngineValve.invoke(Standard
EngineValve.
> java:107)
> at
>
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.java:1
> 48)
> at
>
org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:86
> 9)
> at
>
>
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection
Handler.proc
> essConnection(Http11BaseProtocol.java:664)
> at
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
> (PoolTcpEndpoint
> .java:527)
> at
>
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollow
> erWorkerThread.java:80)
> at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru
n
> (ThreadPool
> .java:684)
> at java.lang.Thread.run(Unknown Source)
>
>
>
------------------------------------------------------------
------------
> -
> Using Tomcat but need to do more? Need to
support web services,
> security?
> Get stuff done quickly with pre-integrated
technology to make
> your job easier
> Download IBM WebSphere Application Server
v.1.0.1 based on
> Apache Geronimo
>
> http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Pebble-user mailing list
> Pebble-user lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pebble-user
>
>
>
>
------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Pebble-user mailing list
Pebble-user lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pebble-user
|