Title | This template uses <wiki:Content/> in an unsupported context: del |
Date | 10-Jul-2006 18:02:29 EEST |
Version | 2.4.17 |
Submitter | HarryMetske |
Bug criticality | BadBug |
Browser version | Firefox 1504 and IE 6 |
Bug status | NewBug |
PageProvider used | VersioningFileProvider |
Servlet Container | WebSphere 6.0.2.9 |
Operating System | z/OS |
URL | Delete.jsp |
_cmdline | form='reportform' status='NewBug' title= map='container=Servlet Container;java_version=Java version;pageprovider=PageProvider used;criticality=Bug criticality;x;status=Bug status;browser_version=Browser version;url=URL;os=Operating System' |
Java version | 1.4.2 |
When I want to delete either a whole page, or an attachment, I get the message :
This template uses in an unsupported context: del
The log shows the following stacktrace (truncated) :
SRVE0014E: Uncaught service() exception root cause /templates/default/EditTemplate.jsp: javax.servlet.jsp.JspException: This template uses <wiki:Content/> in an unsupported context: del at com.ecyrd.jspwiki.tags.ContentTag.doEndTag(ContentTag.java:144) at com.ibm._jsp._EditTemplate._jspx_meth_wiki_Content_0(_EditTemplate.java:245) at com.ibm._jsp._EditTemplate._jspService(_EditTemplate.java:99) at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code)) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code)) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code)) at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code)) at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java(Inlined Compiled Code)) at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java(Compiled Code)) at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:252) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code)) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java(Inlined Compiled Code)) at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java(Compiled Code)) at com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(IncludeTag.java:83) at com.ibm._jsp._Delete._jspService(_Delete.java:150) at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code)) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
Since I didn't feel very comfortable running JSPWiki in WebSphere (no good support, and it's not really tested in the public), I switched to Tomcat (5.5.17) with container managed security. I wrote a custom Tomcat RACFRealm, so we have integration with the native z/OS security subsystem. However, the problem still occurs when trying to delete a page or attachment. I did some more tests, and it looks like it has something to do with the "automatic" switch from http: to https: when you try to delete a page (due to the security constraint setting in web.xml).
When you first manually display the page over https instead of http, and then hit the Delete button, then you can succesfully delete the page. I haven't had the time yet to further investigate this yet.
--Harry Metske
Add new attachment
Only authorized users are allowed to upload new attachments.
«
This particular version was published on 17-Jul-2006 23:15 by null.