Test for upload a attach file which is named by Chinese(maybe GB2312)

The Result is:
Case 1: By Firefox,no problem.
Case 2: By IE, big Problem:

type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

javax.servlet.ServletException: getCacheEntry called with an empty ornull key
	com.ecyrd.jspwiki.dav.WebdavServlet.service(WebdavServlet.java:157)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause 

java.lang.IllegalArgumentException: getCacheEntry called with an empty ornull key
	com.opensymphony.module.oscache.base.Cache.getCacheEntry(Cache.java:373)
	com.opensymphony.module.oscache.base.Cache.flushEntry(Cache.java:523)
	com.ecyrd.jspwiki.providers.CachingAttachmentProvider.putAttachmentData(CachingAttachmentProvider.java:127)
	com.ecyrd.jspwiki.attachment.AttachmentManager.storeAttachment(AttachmentManager.java:374)
	com.ecyrd.jspwiki.attachment.AttachmentServlet.upload(AttachmentServlet.java:450)
	com.ecyrd.jspwiki.attachment.AttachmentServlet.doPost(AttachmentServlet.java:302)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
	com.ecyrd.jspwiki.dav.WebdavServlet.service(WebdavServlet.java:150)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5.7 logs.

Searching Where is the wrong 关键字为空

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
pptx
测试文档.pptx 0.0 kB 1 16-Dec-2011 05:13 huang zheng
« This page (revision-8) was last changed on 25-Jul-2006 06:19 by zhb