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

RS if assignment in template is delete

    Details

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

      Description

      • Create a template with an assignment of type "Form"
      • Get the binder from a course with this template
      • Open the assignment
      • In the template, delete the assignment
      • Return in the binder
        -> Red screen
      12:39:16,947 ERROR OLATRuntimeException:175 - **RedScreen**
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>page2</compname>
      		<compclass>org.olat.core.gui.components.link.Link</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class>org.olat.core.gui.control.Event</class>
      			<command>open_page</command>
      			<tostring>com:open_page,org.olat.core.gui.control.Event@5c295383</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.modules.portfolio.ui.TableOfContentController</controllername>
      		<controllername>org.olat.modules.portfolio.ui.BinderController</controllername>
      		<controllername>org.olat.modules.portfolio.ui.BinderListController</controllername>
      		<controllername>org.olat.modules.portfolio.ui.PortfolioHomeController</controllername>
      		<controllername>org.olat.modules.portfolio.ui.PortfolioPersonalToolController</controllername>
      		<controllername>org.olat.home.HomeMainController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      >>>stack of 1.cause::org.olat.core.logging.OLATRuntimeException: null
      -> 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:644)
      >>>stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.modules.portfolio.handler.EvaluationFormHandler.getContent(EvaluationFormHandler.java:84)
         at org.olat.modules.portfolio.ui.editor.PageController.loadElements(PageController.java:87)
         at org.olat.modules.portfolio.ui.PageRunController.loadModel(PageRunController.java:200)
         at org.olat.modules.portfolio.ui.PageRunController.<init>(PageRunController.java:136)
         at org.olat.modules.portfolio.ui.TableOfContentController.doOpenPage(TableOfContentController.java:640)
         at org.olat.modules.portfolio.ui.TableOfContentController.event(TableOfContentController.java:537)
         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)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              gnaegi Florian Gnägi
            • 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 - 2 hours, 40 minutes
                2h 40m