Thanks for your answer...
I'm working to evaluate Jahia, so I test the reference version
which is 4.0.4. and so I notify all the problem I see...
because I don't found any "Problems know" list that discribe them.
It's a good thing that the bug is already fix and integrate in
the new version.
Ghislain
>
> Hi Ghislain,
>
> I have just committed to the CVS a fix for this URL key
problem. Thanks for
> pointing it out.
>
> Regards,
> Serge Huber.
>
> At 11:42 28.06.2004, you wrote:
> > > At 18:51 23/06/2004, you wrote:
> > > >Hi!
> > > >
> > > >I've create a new page and select the "Don't create any
Jahia
> > > >page" option with the title "test no page".
> > > >
> > > >I don't see any new page in edit mode ... is it normal ?
> > >
> > > If you do not create a page, seems logical that Jahia does
> >not create a new
> > > page! For example you may only want to add a container
> >without adding a new
> > > page field (declared inside this container).
> > >
> > > However, I tested the case in the Jahia default left menu
> >and yes, the
> > > current test is wrong. So if you create a container with a
> >
> >"Don't create
> > > any Jahia page" option (what would be the logical sense? but
> >that's another
> > > question), this create a "floating"container in the list you
> >can not
> > > edit/modify/delete any more (you can see it in the sorting
> >option of the
> > > parent containerlist for example). But that is just a
> >problem of template...
> > >
> > > >Also, when I want to see the sitemap in live mode ...
all goes
> > > >well, but in the edit mode I've got an execution error with
> > > >this stack trace... Is it a bug ?
> > >
> > > Could not reproduce it on the online demo. Please could you
> >try to
> > > reproduce it on the default template? or to provide to us
> >the definition of
> > > your container? Thnx
> > >
> > > St�phane
> >
> >The error occured in the sitemap_jsp.java at line 3827 :
> >
> > pagePropsEngineURL = pagePropsEngineURL.substring(0,
> >pagePropsEngineURL.lastIndexOf("/pid/"));
> >
> >which came from include/sitemap.inc at line 220
> >
> >... I've understand what's the matter ! I've use an url key
> >for the home page (pageaccueil.htm) and when I access the
> >sitemap in edit mode from the home page ... the problem occur.
> >
> >I've suppress the url key (in props of the home page) and then
> >
> >the sitemap.jsp is ok in Edit Mode ...
> >
> >Can you integrate this bug in the correction lists to do ?
> >
> >Ghislain
> >
> >
> > > >Error :
> > > >
> > > >Error while forwarding a Jahia engine's content, Root
cause :
> > > >Error while forwarding the Engine
> > >
> >
>/jsp/jahia/templates/mediacomv2/corporate_portal_templates/sitemap.jsp
> > > >: String index out of range: -1 -> BAILING OUT, root
> > > >cause:String index out of range: -1
> > > >
> > > >
> > > >Exception StackTrace: Cause level : 0 (level 0 is the most
> > > >precise exception)
> > > >java.lang.StringIndexOutOfBoundsException: String index
out of
> > > >range: -1
> > > > at java.lang.String.substring(String.java:1444)
> > > > at
> >org.apache.jsp.sitemap_jsp._jspService(sitemap_jsp.java:3827)
> >
> > > > at
> > >
> >
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
> > > > at
> >javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > > at
> > >
> >
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.jav
> > a:210)
> > > > at
> > >
> >
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
> > > > at
> > >
> >
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > > > at
> >javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > > at
> > >
> >
>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatch
> > er.java:684)
> > > > at
> > >
> >
>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispa
> > tcher.java:432)
> > > > at
> > >
> >
>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatc
> > her.java:356)
> > > > at
> > >
> >
>org.jahia.engines.EngineRenderer.renderCore(EngineRenderer.java:180)
> > > > at
> > >
>org.jahia.engines.EngineRenderer.render(EngineRenderer.java:68)
> > > > at
> > >
> >
>org.jahia.engines.EngineToolBox.displayScreen(EngineToolBox.java:182)
> > > > at
> > >
> >
>org.jahia.engines.sitemap.SiteMap_Engine.handleActions(SiteMap_Engine.jav
> > a:167)
> > > > at
> > >
> >
>org.jahia.operations.OperationManager.handleOperations(OperationManager.j
> > ava:279)
> > > > at
> >org.jahia.bin.JahiaAction.execute(JahiaAction.java:50)
> > > > at
> > >
> >
>org.apache.struts.action.RequestProcessor.processActionPerform(RequestPro
> > cessor.java:484)
> > > > at
> > >
> >
>org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
> > > > at
> > >
> >
>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
> > > > at org.jahia.bin.Jahia.process(Jahia.java:1467)
> > > > at org.jahia.bin.Jahia.service(Jahia.java:792)
> > > > at
> >javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > > at
> > >
> >
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
> > ionFilterChain.java:247)
> > > > at
> > >
> >
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
> > rChain.java:193)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve
> > .java:256)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in
> > vokeNext(StandardPipeline.java:643)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > at
> > >
> >
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve
> > .java:191)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in
> > vokeNext(StandardPipeline.java:643)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > at
> > >
> >
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
> >
> > > > at
> > > >
> > >
> >
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> > 180)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in
> > vokeNext(StandardPipeline.java:643)
> > > > at
> > >
> >
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal
> > ve.java:171)
> > > > at
> > > >
> > >
> >
> >
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in
> > vokeNext(StandardPipeline.java:641)
> > > > at
> > >
> >
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> > 172)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in
> > vokeNext(StandardPipeline.java:641)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >
> > > > at
> > >
> >
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j
> > ava:174)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in
> > vokeNext(StandardPipeline.java:643)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > at
> >
> > >
> >
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > at
> > >
> >
>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> > > > at
> > >
> >
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
> > > > at
> > >
> >
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCo
> > nnection(Http11Protocol.java:392)
> > > > at
> > >
> >
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
> > > > at
> > >
> >
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.
> > java:619)
> > > > at java.lang.Thread.run(Thread.java:534)
> > > >
> > > >Cause level : 1
> > > >org.apache.jasper.JasperException: String index out of
> >
> >range: -1
> > > > at
> > >
> >
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.jav
> > a:254)
> > > > at
> > >
> >
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
> > > > at
> > >
> >
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> >
> > > > at
> >javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > > at
> > >
> >
>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatch
> > er.java:684)
> > > > at
> > >
> >
>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispa
> > tcher.java:432)
> > > > at
> > >
> >
>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatc
> > her.java:356)
> > > > at
> > >
> >
>org.jahia.engines.EngineRenderer.renderCore(EngineRenderer.java:180)
> > > > at
> > >
>org.jahia.engines.EngineRenderer.render(EngineRenderer.java:68)
> > > > at
> > >
> >
>org.jahia.engines.EngineToolBox.displayScreen(EngineToolBox.java:182)
> > > > at
> > >
> >
>org.jahia.engines.sitemap.SiteMap_Engine.handleActions(SiteMap_Engine.jav
> > a:167)
> > > > at
> > >
> >
>org.jahia.operations.OperationManager.handleOperations(OperationManager.j
> > ava:279)
> > > > at
> >org.jahia.bin.JahiaAction.execute(JahiaAction.java:50)
> > > > at
> > >
> >
>org.apache.struts.action.RequestProcessor.processActionPerform(RequestPro
> > cessor.java:484)
> > > > at
> > >
> >
>org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
> > > > at
> >
> > >
> >
>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
> > > > at org.jahia.bin.Jahia.process(Jahia.java:1467)
> > > > at org.jahia.bin.Jahia.service(Jahia.java:792)
> > > > at
> >javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > > at
> >
> > >
> >
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
> > ionFilterChain.java:247)
> > > > at
> > >
> >
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
> > rChain.java:193)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve
> > .java:256)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in
> > vokeNext(StandardPipeline.java:643)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > at
> > >
> >
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > at
> > >
> >
> >
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve
> > .java:191)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in
> > vokeNext(StandardPipeline.java:643)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > at
> > >
> >
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
> > > > at
> > > >
> > >
> >
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> > 180)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in
> > vokeNext(StandardPipeline.java:643)
> > > > at
> > >
> >
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal
> > ve.java:171)
> > > > at
> > > >
> > >
> >
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in
> > vokeNext(StandardPipeline.java:641)
> > > > at
> > >
> >
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> > 172)
> > > > at
> > >
> >
> >
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in
> > vokeNext(StandardPipeline.java:641)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > at
> > >
> >
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j
> > ava:174)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in
> > vokeNext(StandardPipeline.java:643)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > at
> > >
> >
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > at
> > >
> >
>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> > > > at
> > >
> >
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
> > > > at
> > >
> >
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCo
> > nnection(Http11Protocol.java:392)
> > > > at
> > >
> >
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
> > > > at
> > >
> >
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.
> > java:619)
> > > > at java.lang.Thread.run(Thread.java:534)
> > > >
> > > >Cause level : 2
> > > >org.jahia.exceptions.JahiaException: Error while
forwarding a
> > > >Jahia engine's content, Root cause : Error while forwarding
> > > >the Engine
> >
> > >
> >
>/jsp/jahia/templates/mediacomv2/corporate_portal_templates/sitemap.jsp
> > > >: String index out of range: -1 -> BAILING OUT, root
> > > >cause:String index out of range: -1 root
> > > >cause=org.apache.jasper.JasperException: String index
out of
> > > >range: -1
> > > > at
> > >
> >
>org.jahia.engines.EngineRenderer.renderCore(EngineRenderer.java:207)
> > > > at
> >
> > >
>org.jahia.engines.EngineRenderer.render(EngineRenderer.java:68)
> > > > at
> > >
> >
>org.jahia.engines.EngineToolBox.displayScreen(EngineToolBox.java:182)
> > > > at
> > >
> >
>org.jahia.engines.sitemap.SiteMap_Engine.handleActions(SiteMap_Engine.jav
> > a:167)
> > > > at
> > >
> >
>org.jahia.operations.OperationManager.handleOperations(OperationManager.j
> > ava:279)
> > > > at
> >org.jahia.bin.JahiaAction.execute(JahiaAction.java:50)
> > > > at
> > >
> >
>org.apache.struts.action.RequestProcessor.processActionPerform(RequestPro
> > cessor.java:484)
> > > > at
> > >
> >
>org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
> > > > at
> > >
> >
>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
> > > > at org.jahia.bin.Jahia.process(Jahia.java:1467)
> > > > at org.jahia.bin.Jahia.service(Jahia.java:792)
> > > > at
> >javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > > at
> > >
> >
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
> > ionFilterChain.java:247)
> > > > at
> > >
> >
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
> > rChain.java:193)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve
> > .java:256)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in
> > vokeNext(StandardPipeline.java:643)
> > > >
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > at
> > >
> >
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve
> > .java:191)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in
> > vokeNext(StandardPipeline.java:643)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > at
> > >
> >
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> > 180)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in
> > vokeNext(StandardPipeline.java:643)
> > > > at
> > >
> >
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal
> > ve.java:171)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in
> > vokeNext(StandardPipeline.java:641)
> > > > at
> > >
> >
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> > 172)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in
> > vokeNext(StandardPipeline.java:641)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > at
> >
> > >
> >
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j
> > ava:174)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in
> > vokeNext(StandardPipeline.java:643)
> > > > at
> > >
> >
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > at
> > >
> >
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > at
> >
> > >
> >
>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> > > > at
> > >
> >
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
> > > > at
> > >
> >
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCo
> > nnection(Http11Protocol.java:392)
> > > > at
> > >
> >
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
> > > > at
> > >
> >
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.
> > java:619)
> > > > at java.lang.Thread.run(Thread.java:534)
> > > >
> > > >
> > > >
> > > >Ghislain CUSSONNEAU
> > > >CRIL Technology Acc�dez au courrier �lectronique de La
Poste :
> > > >www.laposte.net ; 3615 LAPOSTENET (0,34�/mn) ; t�l : 08 92
> >68 13 50 (0,34�/mn)
> > >
> > >
> > >
> >
> >Ghislain CUSSONNEAU
> >CRIL Technology
> >Technoparc de l'Aubini�re
> >44000 Nantes
> >02 51 89 64 50 Acc�dez au courrier �lectronique de La Poste :
> >www.laposte.net ; 3615 LAPOSTENET (0,34�/mn) ; t�l : 08 92
68 13 50 (0,34�/mn)
>
> - -- --- -----=[ serge.huber at jahia dot com ]=---- --- -- -
> Jahia : A collaborative source CMS and Portal Server
> www.jahia.org Community and product web site
> www.jahia.com Commercial services company
>
>
>
Ghislain CUSSONNEAU
CRIL Technology
Technoparc de l'Aubini�re
44000 Nantes
02 51 89 64 50
Acc�dez au courrier �lectronique de La Poste : www.laposte.net ;
3615 LAPOSTENET (0,34�/mn) ; t�l : 08 92 68 13 50 (0,34�/mn)