Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-97880

When creating content sets, there is no validation for titles longer than 75 characters and no information is displayed to the user

    Details

      Description

      Steps to reproduce:

      1. Go to the Content Set creation screen
      2. Introduce a long title, such as "This is title longer that 75 characters, that makes the query break without providing any clue in the UI"
      3. Click 'Save'

       

      Actual result: Visually, the process never ends. In the logs, you can see the exception below.

      Expected result: A message is displayed reporting about the length rule inviting the user to change it.

       

      The exception shown is:

      2019-07-05 11:38:11.619 ERROR [http-nio-8081-exec-6][JDBCExceptionReporter:234] Batch entry 0 insert into AssetListEntry (uuid_, groupId, companyId, userId, userName, createDate, modifiedDate, assetListEntryKey, title, type_, lastPublishDate, assetListEntryId) values ('9c49f54c-8dc2-d5e5-4152-c48af007ebae', 34821, 20101, 20129, 'Test Test', '2019-07-05 11:38:11.615000+00', '2019-07-05 11:38:11.615000+00', 'this-is-title-longer-that-75-characters,-that-makes-the-query-break-without-providing-any-clue-in-the-ui', 'This is title longer that 75 characters, that makes the query break without providing any clue in the UI', 1, NULL, 34993) was aborted: ERROR: value too long for type character varying(75) Call getNextException to see other errors in the batch.
      2019-07-05 11:38:11.621 ERROR [http-nio-8081-exec-6][JDBCExceptionReporter:234] ERROR: value too long for type character varying(75)
      2019-07-05 11:38:11.624 ERROR [http-nio-8081-exec-6][PortletServlet:119] javax.portlet.PortletException: org.hibernate.exception.DataException: Could not execute JDBC batch update
      javax.portlet.PortletException: org.hibernate.exception.DataException: Could not execute JDBC batch update
      {{ at com.liferay.portal.kernel.portlet.bridges.mvc.BaseMVCActionCommand.processAction(BaseMVCActionCommand.java:69)}}
      {{ at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.callActionMethod(MVCPortlet.java:364)}}
      {{ at com.liferay.portal.kernel.portlet.LiferayPortlet.processAction(LiferayPortlet.java:97)}}
      {{ at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.processAction(MVCPortlet.java:246)}}
      {{ at com.liferay.portlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:77)}}
      {{ at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:50)}}
      {{ at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:115)}}
      {{ at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)}}
      {{ at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)}}
      {{ at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)}}
      {{ at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:120)}}
      {{ at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)}}
      {{ at com.liferay.portlet.internal.InvokerPortletImpl.invoke(InvokerPortletImpl.java:573)}}
      {{ at com.liferay.portlet.internal.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:620)}}
      {{ at com.liferay.portlet.internal.InvokerPortletImpl.processAction(InvokerPortletImpl.java:304)}}
      {{ at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.processAction(MonitoringInvokerPortlet.java:216)}}
      {{ at com.liferay.portlet.internal.PortletContainerImpl._processAction(PortletContainerImpl.java:524)}}
      {{ at com.liferay.portlet.internal.PortletContainerImpl.lambda$processAction$0(PortletContainerImpl.java:151)}}
      {{ at com.liferay.portlet.internal.PortletContainerImpl._preserveGroupIds(PortletContainerImpl.java:427)}}
      {{ at com.liferay.portlet.internal.PortletContainerImpl.processAction(PortletContainerImpl.java:144)}}
      {{ at com.liferay.portlet.SecurityPortletContainerWrapper.processAction(SecurityPortletContainerWrapper.java:96)}}
      {{ at com.liferay.portlet.RestrictPortletContainerWrapper.processAction(RestrictPortletContainerWrapper.java:79)}}
      {{ at com.liferay.portal.kernel.portlet.PortletContainerUtil.processAction(PortletContainerUtil.java:118)}}
      {{ at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:352)}}
      {{ at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:174)}}
      {{ at com.liferay.portal.struts.PortalRequestProcessor._process(PortalRequestProcessor.java:415)}}
      {{ at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:155)}}
      {{ at com.liferay.portal.internal.servlet.MainServlet.doPost(MainServlet.java:213)}}
      {{ at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)}}
      {{ at com.liferay.portal.internal.servlet.MainServlet.service(MainServlet.java:639)}}
      {{ at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)}}
      {{ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:124)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)}}
      {{ at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:114)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)}}
      {{ at com.liferay.portal.servlet.filters.password.modified.PasswordModifiedFilter.processFilter(PasswordModifiedFilter.java:62)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)}}
      {{ at com.liferay.portal.servlet.filters.secure.BaseAuthFilter.processFilter(BaseAuthFilter.java:360)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)}}
      {{ at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:181)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:106)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)}}
      {{ at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)}}
      {{ at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)}}
      {{ at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)}}
      {{ at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)}}
      {{ at com.liferay.friendly.url.internal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:398)}}
      {{ at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)}}
      {{ at com.liferay.portal.servlet.ServletAdapter.service(ServletAdapter.java:99)}}
      {{ at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)}}
      {{ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:124)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)}}
      {{ at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:114)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)}}
      {{ at com.liferay.portal.servlet.filters.password.modified.PasswordModifiedFilter.processFilter(PasswordModifiedFilter.java:62)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)}}
      {{ at com.liferay.portal.servlet.filters.secure.BaseAuthFilter.processFilter(BaseAuthFilter.java:360)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)}}
      {{ at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:266)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)}}
      {{ at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:181)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:106)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)}}
      {{ at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)}}
      {{ at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)}}
      {{ at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)}}
      {{ at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)}}
      {{ at com.liferay.portal.servlet.I18nServlet._processI18nData(I18nServlet.java:334)}}
      {{ at com.liferay.portal.servlet.I18nServlet.service(I18nServlet.java:118)}}
      {{ at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)}}
      {{ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:124)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)}}
      {{ at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:114)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)}}
      {{ at com.liferay.portal.servlet.filters.password.modified.PasswordModifiedFilter.processFilter(PasswordModifiedFilter.java:62)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)}}
      {{ at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)}}
      {{ at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:266)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:196)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:99)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:196)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:99)}}
      {{ at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)}}
      {{ at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)}}
      {{ at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)}}
      {{ at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)}}
      {{ at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)}}
      {{ at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:175)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:99)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:175)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:99)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:196)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:99)}}
      {{ at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:106)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)}}
      {{ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)}}
      {{ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)}}
      {{ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)}}
      {{ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)}}
      {{ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)}}
      {{ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)}}
      {{ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)}}
      {{ at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)}}
      {{ at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)}}
      {{ at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)}}
      {{ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)}}
      {{ at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)}}
      {{ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)}}
      {{ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)}}
      {{ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)}}
      {{ at java.lang.Thread.run(Thread.java:748)}}
      Caused by: org.hibernate.exception.DataException: Could not execute JDBC batch update
      {{ at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:102)}}
      {{ at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)}}
      {{ at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)}}
      {{ at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)}}
      {{ at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)}}
      {{ at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)}}
      {{ at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2412)}}
      {{ at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2875)}}
      {{ at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)}}
      {{ at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)}}
      {{ at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)}}
      {{ at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)}}
      {{ at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)}}
      {{ at com.liferay.portal.dao.orm.hibernate.event.NestableFlushEventListener.onFlush(NestableFlushEventListener.java:61)}}
      {{ at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)}}
      {{ at com.liferay.portal.spring.hibernate.PortletTransactionManager$TransactionStatusWrapper.reset(PortletTransactionManager.java:260)}}
      {{ at com.liferay.portal.spring.hibernate.PortletTransactionManager.commit(PortletTransactionManager.java:63)}}
      {{ at com.liferay.portal.spring.transaction.DefaultTransactionExecutor._commit(DefaultTransactionExecutor.java:89)}}
      {{ at com.liferay.portal.spring.transaction.DefaultTransactionExecutor._execute(DefaultTransactionExecutor.java:136)}}
      {{ at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:51)}}
      {{ at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:62)}}
      {{ at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)}}
      {{ at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:60)}}
      {{ at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)}}
      {{ at com.liferay.portal.kernel.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:65)}}
      {{ at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)}}
      {{ at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)}}
      {{ at com.sun.proxy.$Proxy1176.addAssetListEntry(Unknown Source)}}
      {{ at com.liferay.asset.list.web.internal.portlet.action.AddAssetListEntryMVCActionCommand.doProcessAction(AddAssetListEntryMVCActionCommand.java:89)}}
      {{ at com.liferay.portal.kernel.portlet.bridges.mvc.BaseMVCActionCommand.processAction(BaseMVCActionCommand.java:61)}}
      {{ ... 168 more}}
      Caused by: java.sql.BatchUpdateException: Batch entry 0 insert into AssetListEntry (uuid_, groupId, companyId, userId, userName, createDate, modifiedDate, assetListEntryKey, title, type_, lastPublishDate, assetListEntryId) values ('9c49f54c-8dc2-d5e5-4152-c48af007ebae', 34821, 20101, 20129, 'Test Test', '2019-07-05 11:38:11.615000+00', '2019-07-05 11:38:11.615000+00', 'this-is-title-longer-that-75-characters,-that-makes-the-query-break-without-providing-any-clue-in-the-ui', 'This is title longer that 75 characters, that makes the query break without providing any clue in the UI', 1, NULL, 34993) was aborted: ERROR: value too long for type character varying(75) Call getNextException to see other errors in the batch.
      {{ at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)}}
      {{ at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2126)}}
      {{ at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:469)}}
      {{ at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:791)}}
      {{ at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1547)}}
      {{ at com.zaxxer.hikari.pool.ProxyStatement.executeBatch(ProxyStatement.java:125)}}
      {{ at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeBatch(HikariProxyPreparedStatement.java)}}
      {{ at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)}}
      {{ at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)}}
      {{ ... 195 more}}
      Caused by: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(75)
      {{ at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2412)}}
      {{ at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2125)}}
      {{ ... 202 more}}

       

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 weeks ago

                Packages

                Version Package
                7.2.X
                Master