留言板

Not able to publish content in journal article portlet

thumbnail
Praveen Singh Bais,修改在9 年前。

Not able to publish content in journal article portlet

Junior Member 帖子: 29 加入日期: 14-1-28 最近的帖子
Hi All,

I am facing a strange issue. We want to remove some unused jsp sections which comes in edit article. We have removed the items succesfuly by adding following properties in portal-ext.properties

journal.article.form.add=content
journal.article.form.default.values=content
journal.article.form.update=content

With the above changes the additional fields in the form navigator disappear, but when I publish a new article. It gives error.

Below is the stacktrace we get
15:04:10,925 ERROR [http-bio-8080-exec-154][render_portlet_jsp:132] null
com.liferay.portlet.journal.ArticleDisplayDateException
at java.lang.Class.newInstance(Class.java:374)
at com.liferay.portal.util.PortalImpl.getDate(PortalImpl.java:1830)
at com.liferay.portal.util.PortalUtil.getDate(PortalUtil.java:495)
at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.addArticle(JournalArticleLocalServiceImpl.java:296)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
at com.liferay.portal.spring
.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
at com.liferay.portlet.journal.service.impl.JournalArticleServiceImpl.addArticle(JournalArticleServiceImpl.java:159)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.aop.Chaina
[code]
bleMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)


Please help
Fabián Novoa,修改在8 年前。

RE: Not able to publish content in journal article portlet

New Member 帖子: 3 加入日期: 14-8-4 最近的帖子
Hi, I have same problem. do you have a solution for this Liferay Issue?

Thanks.