[opencms-dev] OpenCms 7.0.5 Chinese module has been released

Shi Yusen shiys at langhua.cn
Wed Feb 25 03:02:54 CET 2009


Hi list,

We have released OpenCms 7.0.5 Chinese module. Thanks Sichuan Rural
Economic Information Network who sponsored this release!

You can get this release from:
SVN:
http://www.langhua.cn/langhua/opencms-zh/OpenCms-7.0.5-zh-new/release
Username: anon
Password: anon

ViewVC:
http://www.langhua.cn/viewvc/svn/opencms-zh/OpenCms-7.0.5-zh-new/release


What's new:
1. Fixed the unreadable charactors problem during importing modules in
setup:
Change
temp += unescape(out[i])+"\n";
to 
temp += decodeURIComponent(out[i])+"\n";
in step_8a_display_import.jsp

2. Change the mininum length of workplace query from 3 to 1 as in
Chinese, even one charator would be a word. And I think it would be
better to add a mininum length parameter in each index configuration.
And then 
if (!CmsStringUtil.isEmptyOrWhitespaceOnly(query) && (query.length() >
3)) {
can be changed to something like
if (!CmsStringUtil.isEmptyOrWhitespaceOnly(query) && (query.length() >
m_searchParams.getSearchIndex().getMinLength())) {
in CmsSearchWidgetDialog.java

3. Change
            JPEGImageEncoder jpegEncoder =
JPEGCodec.createJPEGEncoder(captchaImageOutput);
            jpegEncoder.encode(captchaImage);
to 
javax.imageio.ImageIO.write(captchaImage, "jpg", captchaImageOutput);
in CmsCaptchaField.java to make captha both work on Sun JDK and OpenJDK.

Please feedback to me if you find any bugs in this release.

Thanks Shang Zhengwu for his work on this release!

Enjoy it!

Shi Yusen/Beijing Langhua Ltd.





More information about the opencms-dev mailing list