board layout admin page

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

Re: board layout admin page

Hugo <Nabble>
Please check rev 0635ad0. You can click on the "Output" button and see the structure that will become the Lua table code. Do I have to set the Board.depth value? I see some luan code in Board.luan that does fills that piece. If you don't see any other issues, I will save that structure in the Board.
Reply | Threaded
Open this post in threaded view
|

Re: board layout admin page

fschmidt
Administrator
lowering to priority 2 for now
Reply | Threaded
Open this post in threaded view
|

Re: board layout admin page

fschmidt
Administrator
In reply to this post by Hugo <Nabble>
I fixed the board depth (untested).  You can go ahead and try to save.
Reply | Threaded
Open this post in threaded view
|

Re: board layout admin page

Hugo <Nabble>
Please check rev 7815592. When I try to save the data I get the exception below:
   java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
	site:/lib/Board line 95 in call to 'Db.save'
	site:/admin/structure line 39 in call to 'Board.save_data'
Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
	at luan.modules.lucene.LuceneIndex.save(LuceneIndex.java:145)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at luan.LuanJavaFunction$JavaMethod$1.invoke(LuanJavaFunction.java:531)
	at luan.LuanJavaFunction.doCall(LuanJavaFunction.java:88)
	at luan.LuanJavaFunction.call(LuanJavaFunction.java:73)
	at luan.impl.FnCall.call(FnCall.java:31)
	at luan.impl.FnCall.eval(FnCall.java:23)
	at luan.impl.ExpressionsStmt.eval(ExpressionsStmt.java:14)
	at luan.impl.Block.eval(Block.java:22)
	at luan.impl.Closure.call(Closure.java:70)
	at luan.impl.Closure.call(Closure.java:43)
	at luan.impl.FnCall.call(FnCall.java:31)
	at luan.impl.FnCall.eval(FnCall.java:23)
	at luan.impl.ExpressionsStmt.eval(ExpressionsStmt.java:14)
	at luan.impl.Block.eval(Block.java:22)
	at luan.impl.IfStmt.eval(IfStmt.java:22)
	at luan.impl.Block.eval(Block.java:22)
	at luan.impl.Closure.call(Closure.java:70)
	at luan.impl.Closure.call(Closure.java:43)
	at luan.LuanFunction.call(LuanFunction.java:11)
	at luan.modules.http.HttpServicer.service(HttpServicer.java:159)
	at luan.modules.http.LuanHandler.handle(LuanHandler.java:31)
	at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
	at org.eclipse.jetty.server.Server.handle(Server.java:370)
	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
	at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)
	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
	at java.lang.Thread.run(Thread.java:745)
Reply | Threaded
Open this post in threaded view
|

Re: board layout admin page

fschmidt
Administrator
fixed
Reply | Threaded
Open this post in threaded view
|

Re: board layout admin page

fschmidt
Administrator
I can't create a new category.
Reply | Threaded
Open this post in threaded view
|

Re: board layout admin page

Hugo <Nabble>
Fixed in rev 391cf8f. You can assign this back to me to improve the look of the page (priority 2 - ongoing).
Reply | Threaded
Open this post in threaded view
|

Re: board layout admin page

fschmidt
Administrator
back to you
Reply | Threaded
Open this post in threaded view
|

Re: board layout admin page

Hugo <Nabble>
Please check rev 7628bcb.
Reply | Threaded
Open this post in threaded view
|

Re: board layout admin page

fschmidt
Administrator
It looks nice on Chrome but not on Safari.
Reply | Threaded
Open this post in threaded view
|

Re: board layout admin page

Hugo <Nabble>
Fixed in rev 3d71be7.
Reply | Threaded
Open this post in threaded view
|

Re: board layout admin page

fschmidt
Administrator
It looks fine.  You can close this.
Reply | Threaded
Open this post in threaded view
|

Re: board layout admin page

Hugo <Nabble>
Closed.
12