Can't change date of posting

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't change date of posting

MGallagher
Hi - I've just tried to change the date of a posting from today (25 May) to 9 April, but I got this error message:-

Error 500
url=http://news-from-scotland.682003.n3.nabble.com/template/NodeServlet.jtp?form=y&node=842249&tpl=change_post_date  method=POST user-agent=Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) referer=http://news-from-scotland.682003.n3.nabble.com/template/NodeServlet.jtp?tpl=change_post_date&node=842249
RequestURI=/template/NodeServlet.jtp

Caused by:
fschmidt.util.servlet.JtpContextServlet$JtpRuntimeException: url=http://news-from-scotland.682003.n3.nabble.com/template/NodeServlet.jtp?form=y&node=842249&tpl=change_post_date  method=POST user-agent=Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) referer=http://news-from-scotland.682003.n3.nabble.com/template/NodeServlet.jtp?tpl=change_post_date&node=842249
        at fschmidt.util.servlet.JtpContextServlet.handleException(JtpContextServlet.java:557)
        at fschmidt.util.servlet.JtpContextServlet.service2(JtpContextServlet.java:475)
        at fschmidt.util.servlet.JtpContextServlet.service(JtpContextServlet.java:266)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
        at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
        at fschmidt.util.servlet.GzipFilter.doFilter(GzipFilter.java:137)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
        at cachingfilter.CachingFilter.doFilter(CachingFilter.java:133)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
        at fschmidt.util.servlet.BadBotFilter.doFilter(BadBotFilter.java:74)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: nabble.template.TemplateRuntimeException: Invalid date in milliseconds
        in save_when_created - <n.save_when_created date="[n.when_created_field.value/]"/> (change_post_date.template.tpl:12) {public void nabble.view.web.forum.NodeEditorNamespace._save_when_created(nabble.template.IPrintWriter,nabble.template.Interpreter) throws nabble.model.ModelException}
        in save - <n.save> (change_post_date.template.tpl:10) {public void nabble.view.web.forum.NodeEditorNamespace._save(nabble.template.IPrintWriter,nabble.template.Interpreter) throws nabble.model.ModelException}
        in node_editor - <n.node_editor.> (change_post_date.template.tpl:2) {public void nabble.view.web.template.NodeServletEnv._node_editor(nabble.template.IPrintWriter,nabble.template.ScopedInterpreter)}
        in <macro name="change_post_date" requires="node-servlet"> (change_post_date.template.tpl:1)
        at nabble.template.Compiler.interpFix(Compiler.java:1192)
        at nabble.template.Compiler$Block.run(Compiler.java:1144)
        at nabble.template.BlockWrapper.printTo(BlockWrapper.java:24)
        at nabble.template.BlockWrapper.toString(BlockWrapper.java:18)
        at nabble.template.Interpreter.getAttrString(Interpreter.java:26)
        at nabble.view.web.forum.NodeEditorNamespace._save(NodeEditorNamespace.java:89)
        at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at nabble.template.JavaMethod.invoke(JavaMethod.java:22)
        at nabble.template.Compiler$Block.run(Compiler.java:1140)
        at nabble.template.Compiler$Chunks.run(Compiler.java:824)
        at nabble.template.BlockWrapper.printTo(BlockWrapper.java:24)
        at nabble.template.ScopedInterpreter$1.printTo(ScopedInterpreter.java:22)
        at nabble.template.TemplatePrintWriter.print(TemplatePrintWriter.java:21)
        at nabble.view.web.template.NodeServletEnv._node_editor(NodeServletEnv.java:108)
        at sun.reflect.GeneratedMethodAccessor274.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at nabble.template.JavaMethod.invoke(JavaMethod.java:22)
        at nabble.template.Compiler$Block.run(Compiler.java:1140)
        at nabble.template.Template.run(Template.java:88)
        at nabble.view.web.template.TemplateManager.run(TemplateManager.java:122)
        at nabble.view.web.template.NodeServlet.service(NodeServlet.java:94)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at fschmidt.util.servlet.JtpContextServlet.service2(JtpContextServlet.java:473)
        ... 25 more
Caused by: nabble.model.ModelException: invalid_date: Invalid date in milliseconds
        at nabble.model.ModelException.newInstance(ModelException.java:32)
        at nabble.view.web.forum.NodeEditorNamespace._save_when_created(NodeEditorNamespace.java:230)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at nabble.template.JavaMethod.invoke(JavaMethod.java:22)
        at nabble.template.Compiler$Block.run(Compiler.java:1140)
        ... 49 more

Reply | Threaded
Open this post in threaded view
|

Re: Can't change date of posting

Hugo <Nabble>
We fixed that bug. Thanks for reporting it.
Reply | Threaded
Open this post in threaded view
|

Re: Can't change date of posting

MGallagher
That's great - many thanks,
 
Michael.
----- Original Message -----
Sent: Tuesday, May 25, 2010 7:18 PM
Subject: Re: Can't change date of posting

We fixed that bug. Thanks for reporting it.
Official Nabble Administrator - we never ask for passwords.



View message @ http://nabble-support.1.n2.nabble.com/Can-t-change-date-of-posting-tp5098838p5099808.html
To unsubscribe from Can't change date of posting, click here.



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.819 / Virus Database: 271.1.1/2895 - Release Date: 05/25/10 07:26:00