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

RS if configuration notices saved as string and not boolean

    Details

      Description

      I cannot reproduce this issue with the notices.

      2017-02-06 15:26:51,371 [ajp-nio2-8005-exec-19] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N5-E8 ^%^ org.olat.core.logging 
      
      https://olat.xyz.ch/auth/RepositoryEntry/248152065/Editor/0 ^%^ Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
      **RedScreen** java.lang.String cannot be cast to java.lang.Boolean
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>command.preview</compname>
      		<compclass>org.olat.core.gui.components.link.Link</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class>org.olat.core.gui.control.Event</class>
      			<command>command.preview</command>
      			<tostring>com:command.preview,org.olat.core.gui.control.Event@67e25844</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.nodes.iq.IQConfigurationController</controllername>
      		<controllername>org.olat.course.nodes.iq.IQEditController</controllername>
      		<controllername>org.olat.course.editor.EditorMainController</controllername>
      		<controllername>org.olat.course.run.CourseRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: java.lang.String cannot be cast to java.lang.Boolean
      -> 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:548)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:241)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:273)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:190)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:292)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:235)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
      >>> stack of 2.cause::java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
      -> at org.olat.modules.iq.IQDisplayController.init(IQDisplayController.java:321)
         at org.olat.modules.iq.IQDisplayController.<init>(IQDisplayController.java:150)
         at org.olat.modules.iq.IQManager.createIQDisplayController(IQManager.java:142)
         at org.olat.course.nodes.iq.IQConfigurationController.doPreview(IQConfigurationController.java:392)
         at org.olat.course.nodes.iq.IQConfigurationController.event(IQConfigurationController.java:293)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
         at org.olat.core.gui.components.link.Link.dispatch(Link.java:199)
         at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:186)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
            • 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 - 25 minutes
                25m