Title | Couldn't upload new attachment for a page which be named using chinese |
Date | 28-Nov-2005 10:19:54 EET |
Version | v2.2.32 |
Submitter | 61.144.137.13 |
Bug criticality | MediumBug |
Browser version | IE |
Bug status | ClosedBug |
PageProvider used | |
Servlet Container | tomcat |
Operating System | WIN XP |
URL | |
Java version | 1.4 |
A page is named using chinese.And choose the attachment file and chick the 'upload' button.Then show the error message 'Parent page does not exist. '
Did you try with Firefox?
use Firefox is ok! But use ie , then I cann't upload file with chinese file name, now i get an image to show error. tmp.gif
Uuh... Annoying. Which version of IE are you using?
I got the same problem. who can resolve this problem? thanks.
--AnonymousCoward, 24-Feb-2006
The IE Version is 6.
The same problem occurs when JSPWiki 2.2.33 with tomcat run in Linux!
Any suggestion ?
--AnonymousCoward, 24-Feb-2006
I resolve this problem.
templates/default/pageContext.jsp
<wiki:Permission permission="upload"> <a href="javascript:window.open('<wiki:UploadLink format="url" />','Upload','width=640,height=480,toolbar=1,menubar=1,scrollbars=1,resizable=1,').focus()">Attach file...</a> </wiki:Permission>
to
<wiki:Permission permission="upload"> <a href="<wiki:UploadLink format="url" />" target=_new>Attach file...</a> </wiki:Permission>
the reason is IE javascript windows.Open will URLEncode the upload URL.
so we don't use IE javascript. nisenEmail@gmail.com
--AnonymousCoward, 05-May-2006
OK, thanks. In 2.4 the Javascript is gone, so this should work well.