Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-3034

RS description field too long in feed

    XMLWordPrintable

    Details

      Description

      2017-09-24 10:47:21,181 [ajp-nio2-8006-exec-8] ERROR DBRuntimeException - OLAT::ERROR ^%^ N1-E72 ^%^ org.olat.core.logging
      
      https://olat.xyz.ch/auth/RepositoryEntry/505839720/Settings/0
      Mozilla/5.0 (Linux; Android 5.1.1; HP Pro Slate 8 Build/LMY47V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.125 Safari/537.36 OPR/43.0.2246.121183
      **RedScreen** commit failed, rollback transaction
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_null</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>validation ok</command>
      			<tostring>com:validation ok,org.olat.core.gui.control.Event@d62b3f02</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.repository.ui.author.RepositoryEditDescriptionController</controllername>
      		<controllername>org.olat.modules.webFeed.ui.FeedRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.DBRuntimeException: commit failed, rollback transaction
      -> at org.olat.core.commons.persistence.DBImpl.commit(DBImpl.java:756)
         at org.olat.core.commons.persistence.DBImpl.commitAndCloseSession(DBImpl.java:671)
         at org.olat.repository.handlers.BlogHandler.onDescriptionChanged(BlogHandler.java:246)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.event(RepositoryEntryRuntimeController.java:579)
         at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:246)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:243)
         at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:190)
         at org.olat.repository.ui.author.RepositoryEditDescriptionController.formOK(RepositoryEditDescriptionController.java:582)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:380)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
      >>> stack of 2.cause::javax.persistence.RollbackException: Error while committing the transaction
      -> at org.hibernate.internal.ExceptionConverterImpl.convertCommitException(ExceptionConverterImpl.java:75)
         at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:71)
         at org.olat.core.commons.persistence.DBImpl.commit(DBImpl.java:713)
         at org.olat.core.commons.persistence.DBImpl.commitAndCloseSession(DBImpl.java:671)
         at org.olat.repository.handlers.BlogHandler.onDescriptionChanged(BlogHandler.java:246)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.event(RepositoryEntryRuntimeController.java:579)
         at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:246)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:243)
         at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:190)
         at org.olat.repository.ui.author.RepositoryEditDescriptionController.formOK(RepositoryEditDescriptionController.java:582)
      >>> stack of 3.cause::javax.persistence.PersistenceException: org.hibernate.exception.DataException: could not execute statement
      -> at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:147)
         at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:155)
         at org.hibernate.internal.ExceptionConverterImpl.convertCommitException(ExceptionConverterImpl.java:56)
         at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:71)
         at org.olat.core.commons.persistence.DBImpl.commit(DBImpl.java:713)
         at org.olat.core.commons.persistence.DBImpl.commitAndCloseSession(DBImpl.java:671)
         at org.olat.repository.handlers.BlogHandler.onDescriptionChanged(BlogHandler.java:246)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.event(RepositoryEntryRuntimeController.java:579)
         at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:246)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:243)
      >>> stack of 4.cause::org.hibernate.exception.DataException: could not execute statement
      -> at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:52)
         at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)
         at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)
         at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)
         at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:208)
         at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45)
         at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3188)
         at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3067)
         at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3447)
         at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:145)
         at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:589)
      >>> stack of 5.cause::com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'f_description' at row 1
      -> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3971)
         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
         at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
         at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2501)
         at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1858)
         at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2079)
         at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2013)
         at com.mysql.jdbc.PreparedStatement.executeLargeUpdate(PreparedStatement.java:5104)
         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1998)
         at org.apache.tomcat.dbcp.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97)
      

        Attachments

          Activity

            People

            • Assignee:
              uhensler Urs Hensler
              Reporter:
              srosse Stéphane Rossé
              Tester:
              Sabrina Scheiwiler (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m