Message Boards在liferay4.4.x的版本中增加了一个配置:是否允许匿名用户增加话题
#
# Set this to true to allow anonymous posting.
#
message.boards.anonymous.posting.enabled=true
可是这个功能根本就没有测试过,成为bug也变得顺理成章.具体出现bug的代码在
com.liferay.portal.util.PropsUtil中
public static final String MESSAGE_BOARDS_ANONYMOUS_POSTING_ENABLED = "message.boards.expire.ban.job.interval";
应该改为
public static final String MESSAGE_BOARDS_ANONYMOUS_POSTING_ENABLED = "message.boards.anonymous.posting.enabled";
这个明显就是拷贝后忘记修改内容而导致的错误.原来外国人编程和我们中国人没两样嘛.一个低级的错误,可是能隐藏得很深.
希望liferay以后要加强测试,毕竟有7,8年历史的开源项目,如果测试能更上去的话,那将会更让人期待。
分享到:
相关推荐
liferay资料\Liferay.Portal.Enterprise.Intranets.April.2008liferay资料\Liferay.Portal.Enterprise.Intranets.April.2008
liferay笔记.doc
9.3 Discuss, Ask, and Answer Using the Message Boards . . . . . . . . . . . 221 9.4 Working together with the Wiki . . . . . . . . . . . . . . . . . . . . . . 233 ii 9.5 Find out what others think or ...
Liferay7.0 通过JPM安装Blade CLi时[ZipFile.open] error in opening zip file ,将此包下载至本地,执行安装命令可解决:http://blog.csdn.net/u012551585/article/details/54346457
The Liferay Cookbook.pdf 官方推荐的开发用书
Liferay is a different portal. 10分下载的, 打包5折提供下载. Part 1 Introduction to Liferay 1. Liferay is a different portal 2. Getting started with the Liferay development platform Part 2 Adding ...
Packtpub.Liferay.User.Interface.Development.Nov.2010.rar
Liferay in Action,Liferay Portal Systems Development,Liferay User Interface Development,还有几个中文文档
Packtpub.Liferay.Portal.6.Enterprise.Intranets.May.2010.rar
Packt.Publishing.Liferay.Portal.Enterprise.Intranets
如何为Liferay 7.x创建计划程序 该项目将签出到的module文件夹中。
import com.liferay.portal.kernel.util.StringBundler; StringBundler jsonStr1 = new StringBundler(150); 操作如StringBuilder,相同
此文档包括liferay的安装教程,和eclipes集成,如何运行,配置数据库,简单的项目创建,portlet的添加使用,如何和数据库打交道,此文档以mysql为主,适合零基础刚入门的查看
commons-configuration-gae.zip,配置的实现(由apache commons配置库提供),使用google app engine datastore api存储配置参数;配置的实现(由apache commons配置库提供),使用google app engine datastore api...
第一本Liferay书籍,难得啊。
liferay 学习 Liferay-使用手册.pdf
liferay开发文档.pdf
liferay中的配置文件的几处修改
Liferay门户手册 .pdf