Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
Ahmed Fehri
abstraction blogs
January 31, 2013 2:53 AM
Answer

Ahmed Fehri

Rank: Junior Member

Posts: 50

Join Date: November 4, 2012

Recent Posts

Hi,

I want to make the field abstraction of the blogs portlet, a TextArea(not an imput text) as provided in version 6.2 of Liferay.
I followed this link, but i have always a problem with JDBC Link of update
When i put a little long summary in this field I have this problem:


 110:47:22,802 ERROR [JDBCExceptionReporter:75] data exception: string data, right truncation
 210:47:22,989 ERROR [render_portlet_jsp:154] com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.DataException: Could not execute JDBC batch update
 3    at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:193)
 4    at com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistenceImpl.updateImpl(BlogsEntryPersistenceImpl.java:711)
 5    at com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistenceImpl.updateImpl(BlogsEntryPersistenceImpl.java:1)
 6    at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:257)
 7    at com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl.updateEntry(BlogsEntryLocalServiceImpl.java:640)
 8    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
 9    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
10    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
11    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
12    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
13    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
14    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)


Any idea?