TitleCouldn't upload new attachment for a page which be named using chinese
Date28-Nov-2005 10:19:54 EET
Versionv2.2.32
Submitter61.144.137.13
Bug criticalityMediumBug
Browser versionIE
Bug statusClosedBug
PageProvider used
Servlet Containertomcat
Operating SystemWIN XP
URL
Java version1.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?

-- JanneJalkanen


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?

-- JanneJalkanen


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.

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-11) was last changed on 13-Aug-2006 22:32 by Janne Jalkanen