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

RS: identifier too long in organisation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14.0.3
    • Component/s: Organisation
    • Labels:
      None

      Description

      Someone try to create a new organisation with a very long identifier.

      2019-08-05 09:18:22.807 [ajp-nio2-8011-exec-2] ERROR OLATRuntimeException ^%^ I19246-J1029 ^%^ org.olat.core.logging.OLATRuntimeException 
      https://e.xyz.ch/auth/AdminSite/0/organisations/0/Organisations/0
      Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
      **RedScreen** org.hibernate.exception.DataException: could not execute statement
      
      <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.user.ui.organisation.EditOrganisationController</controllername>
      		<controllername>org.olat.user.ui.organisation.OrganisationsStructureAdminController</controllername>
      		<controllername>org.olat.user.ui.organisation.OrganisationAdminController</controllername>
      		<controllername>org.olat.admin.SystemAdminMainController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      org.olat.core.logging.OLATRuntimeException: org.hibernate.exception.DataException: could not execute statement
        at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:116)
        at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:57)
        at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:46)
        at org.olat.core.gui.components.Window.dispatchRequest(Window.java:586)
        at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:282)
        at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
        at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:263)
        at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:184)
        at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269)
        at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:216)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
        at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:160)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        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:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.olat.core.servlets.HeadersFilter.doFilter(HeadersFilter.java:95)
        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:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
        ...
        
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
              Tester:
              Mandy Menzel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 5 minutes
                5m