Last modified by Simon Urli on 2023/10/10

<
From version < 48.4 >
edited by Silvia Macovei
on 2010/03/04
To version < 48.5 >
edited by yang ningJian
on 2010/06/01
>
Change comment: Added comment

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.SilviaRusu
1 +XWiki.YangNingYuan
XWiki.XWikiComments[11]
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.YangNingYuan
Comment
... ... @@ -1,0 +1,3 @@
1 +Hello xwikier. I downloaded xwiki Enterprise Edition, version 2.1.1. Where installed in tomcat. Using a mysql database. The default language of Chinese or English. The operating system is WIN XP. Because I live in Shanghai, China, so I use Chinese. According to this document, I create a FAQ application, found a small bug. In FAQ.Existing FAQ entries (FAQ.webHome) page, in the name of the docName of <input> years, if the input of Chinese characters (such as '?????'), then FAQ.Existing FAQ entries page will prompt "The target document already exists. Please choose a different name ...", fact does not exist "Foxconn jumped" this page. Tracking in FAQ.Existing FAQ entries on the velocity code and found that statement "# set ($ docName = $ util.clearName ($ (request.docName)))" always null value assigned to docName, so to determine whether the presence Logic ($ xwiki.exists ($ targetDocName)) returns true. Then I trace the jar file, suspected com.xpn.xwiki.XWiki's public String clearName method caused problems - the Chinese characters are replaced with a null value. Current temporary solution is to comment out this $ util.clearName code. Hope xwikier to fix this bug, because the use of Chinese to abandon this code, the code will be wasted. And now more and more young people in China using Chinese and English characters mixed. Thank you.
2 +PS: I want to know com.xpn.xwiki.XWiki's public String clearName way in the end is what to do, now I know that this method is used to replace some of the non-Chinese characters. Thank you.
3 +
Date
... ... @@ -1,0 +1,1 @@
1 +2010-06-01 05:07:34.676

Get Connected