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

RS in course publish process if someone open the catalog chooser, click ok without choosing an entry

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.0.5
    • Fix Version/s: 9.0.6
    • Component/s: Course
    • Labels:
      None
    • Environment:

      bbw 9.0.5

      Description

      How to reproduce: publish a course, in the step "catalog", open the popup to choose entry, and click on OK without choosing something

      RedScreen on 
      2013-10-21 22:07:59,759 [ajp-8021-11] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N1-E28 ^%^ org.olat.core.logging
      https://xxx/bbw/auth/1%3A1%3A1054884776%3A2%3A0%3Acid%3Acmd.repo.course/
      Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)
      **RedScreen** null ::_::
      <dispatchinfo>
      	<componentinfo>
      		<compname>ok</compname>
      		<compclass>org.olat.core.gui.components.link.Link</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>ok</command>
      			<tostring>com:ok,org.olat.core.gui.control.Event@dfb</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.editor.PublishStepCatalog$SpecialCatalogEntryAddController</controllername>
      		<controllername>org.olat.course.editor.PublishStepCatalog$PublishStepCatalogForm</controllername>
      		<controllername>org.olat.core.gui.control.generic.wizard.StepsMainRunController</controllername>
      		<controllername>org.olat.course.editor.EditorMainController</controllername>
      		<controllername>org.olat.course.run.RunMainController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      		<controllername>org.olat.core.commons.chiefcontrollers.controller.simple.SimpleBaseController</controllername>
      		<controllername>org.olat.core.commons.chiefcontrollers.BaseChiefController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: null
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:107)
         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:508)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:226)
         at org.olat.core.gui.components.Component.dispatchRequest(Component.java:192)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:227)
         at org.olat.core.dispatcher.DispatcherAction.execute(DispatcherAction.java:154)
         at org.olat.core.servlets.OLATServlet.doPost(OLATServlet.java:155)
         at org.olat.core.servlets.OLATServlet.doGet(OLATServlet.java:128)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.catalog.ui.CatalogEntryAddController.event(CatalogEntryAddController.java:104)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:195)
         at org.olat.core.gui.components.Component$1.run(Component.java:238)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.components.Component.fireEvent(Component.java:236)
         at org.olat.core.gui.components.link.Link.dispatch(Link.java:188)
         at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:175)
         at org.olat.core.gui.components.Component.dispatchRequest(Component.java:192)
         at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1137)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:335)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:226)
      

        Attachments

          Activity

            People

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