TitleDelete fails if page has attachmens
Date17-Jun-2005 17:15:06 EEST
Version2.2.20
Submitter84.141.137.13
Bug criticalityJSPWiki:BadBug
Browser versionFirefox 1.0.4
Bug statusClosedBug
PageProvider usedRCSFileProvider
Servlet ContainerTomcat 5.0.27
Operating SystemSuSE 9.2
URL
Java version1.4.2-05

If the page that is supposed to be deleted has attachmenst I get an exception since the page afterward is gone but not so the attachments.

2005-06-17 16:13:43,104 TP-Processor8 WARN com.ecyrd.jspwiki.tags.WikiTagBase JSPWiki:DeletePage JSPWiki:DeletePage - Including failed, got a servlet exception from sub-page. Rethrowing the exception to the JSP engine. org.apache.jasper.JasperException at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372) 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:856) 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:704) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966) at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:581) at com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(IncludeTag.java:68) at org.apache.jsp.templates.ibmw3_002dexperimental.ViewTemplate_jsp._jspx_meth_wiki_Include_0(ViewTemplate_jsp.java:689) at org.apache.jsp.templates.ibmw3_002dexperimental.ViewTemplate_jsp._jspx_meth_wiki_CheckRequestContext_0(ViewTemplate_jsp.java:664) at org.apache.jsp.templates.ibmw3_002dexperimental.ViewTemplate_jsp._jspService(ViewTemplate_jsp.java:249) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)

See attached fix fixdelete.patch(info). This patch has been build for 2.2.20 and seemed to be OK in my tests....

-- Joerg Luedeker


Fixed in 2.2.26. Thanks for the patch!

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
patch
fixdelete.patch 0.8 kB 2 17-Jun-2005 17:54 84.141.137.13
« This page (revision-4) was last changed on 19-Jun-2005 22:58 by Administrator