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 ...
这个名为"Liferay合集.zip"的压缩包包含了多本关于Liferay的重要书籍,如《Liferay in Action》、《Liferay Portal Systems Development》和《Liferay User Interface Development》,以及一些中文文档,这些资源...
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用户界面开发的电子书资源,由Packt Publishing在2010年11月出版。Liferay是一种开源的企业级门户平台,广泛用于构建企业...
Packt.Publishing.Liferay.Portal.Enterprise.Intranets
- 定义作业类:编写一个实现了`com.liferay.portal.kernel.messaging.MessageListener`接口的Java类,这是计划任务的核心部分。 - 注册作业:在`portal.properties`或`liferay-plugin-package.xml`中注册作业,...
《Packtpub.Liferay.Portal.6.Enterprise.Intranets.May.2010》这本书聚焦于Liferay Portal 6版本在构建企业级内网解决方案中的应用。Liferay Portal是一款开源的企业级门户平台,广泛用于创建、管理和整合数字体验...
其中,`com.liferay.util.ParamUtil.java`是Liferay框架中的一个核心工具类,主要用于处理请求参数。本文将详细探讨`ParamUtil`类及其在实际开发中的应用。 `ParamUtil`类位于`com.liferay.util`包下,是Liferay...
在Liferay Portal中,`liferay.properties`是一个关键的配置文件,它定义了系统的各种行为和设置。在本文中,我们将深入探讨这个文件中与页面可见性、我的位置portlet(My Places Portlet)以及用户协议展示相关的...
import com.liferay.portal.kernel.util.StringBundler; StringBundler jsonStr1 = new StringBundler(150); 操作如StringBuilder,相同
《Liferay Portal Enterprise Intranets April 2008》是关于Liferay门户平台的一本专著,出版于2008年4月,对于理解并掌握Liferay在企业内部网络(Intranets)中的应用具有重要价值。Liferay Portal是一款开源的企业...
此文档包括liferay的安装教程,和eclipes集成,如何运行,配置数据库,简单的项目创建,portlet的添加使用,如何和数据库打交道,此文档以mysql为主,适合零基础刚入门的查看
3. "Message Bus - Wiki - Liferay.htm":这可能是Liferay官方Wiki上关于“Message Bus”的页面,详细介绍了Liferay消息总线的工作原理、配置和最佳实践,对于开发者来说是重要的参考资料。 4. "Message Bus - Wiki ...
commons-configuration-gae.zip,配置的实现(由apache commons配置库提供),使用google app engine datastore api存储配置参数;配置的实现(由apache commons配置库提供),使用google app engine datastore api...
配置文件包括portal.properties、portlet.properties、liferay.properties等。 * Liferay 配置文件的种类 + portal.properties + portlet.properties + liferay.properties * Liferay 配置文件的作用 + 管理...