[MAGNOLIA-221] After creating new pages whole subtree not available in preview Created: 28/Nov/04  Updated: 23/Jan/13  Resolved: 29/Nov/04

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 2.0 Final
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Bernfried Howe Assignee: Boris Kraft
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows Standard Installation under XP SP2


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

After I have inserted some pages in a new subtree of my project the preview did not work at all anymore. The log file shows the following exception. Restart did not help. Even deleting the pages and creating them again did not work. Before I added the pages my new main.jsp and all include custom jsp's did work fine.

info.magnolia.cms.Dispatcher 28.11.2004 14:23:36 – INFO – Forward to - /templates/jsp/webertise/templateThreeColumns/main.jsp
info.magnolia.cms.servlets.EntryServlet 28.11.2004 14:23:37 – ERROR – javax.servlet.jsp.JspException: null
javax.servlet.ServletException: javax.servlet.jsp.JspException: null
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:821)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
at org.apache.jsp.templates.jsp.webertise.templateThreeColumns.main_jsp._jspService(main_jsp.java:150)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
at info.magnolia.cms.Dispatcher.dispatch(Dispatcher.java:65)
at info.magnolia.cms.servlets.EntryServlet.doGet(EntryServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at info.magnolia.cms.Filter.MultipartRequestFilter.doFilter(MultipartRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at info.magnolia.cms.Filter.ContentTypeFilter.doFilter(ContentTypeFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
at java.lang.Thread.run(Thread.java:534)



 Comments   
Comment by Boris Kraft [ 29/Nov/04 ]

Please state exactly how we can reproduce this behavior, elswise we have to close this issues with status "works for me". Thanks.

Comment by Bernfried Howe [ 29/Nov/04 ]

Preconditions:
1. I created a new page "webertise" on root left like the features page
2. I created a new template in the config tree
3. I assigned the new template to the new page
4. I created a new main.jsp, to which the new template referred to.
5. I opened the page and everything worked fine.
6. I changed the navigation.jsp for my requirements
7. I tested the new jsp and everything worked fine.

After this test I did following steps:
1. I created sub-pages under my new page "webertise" to test the navigation
2. I moved them in the correct order
3. I tested them with "open page". Still working...
4. I renamed the sub-pages => "open page" did not work any more.

If this does not help, I can provide you with my complete author directory, if you like.

Comment by Boris Kraft [ 29/Nov/04 ]

Since these actions work fine on the default templates I must assume that you have a problem in your navigation jsp. In this case, I suggest you upload the template to jira and continue discussion on the user-list, not the dev-list.

Generated at Mon Feb 12 03:15:17 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.