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

RS if an author open a portfolio template without edit permission

    XMLWordPrintable

    Details

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

      Description

      You can reproduce the red screen:

      • Open an eportfolio template without having the edit permission
      • Click on the breadcrumb
      2015-01-06 00:11:30,144 [ajp-bio-8006-exec-7] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N1-E203 
      Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0
      
      **RedScreen**
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>crumb_0</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>crumb_0</command>
      			<tostring>com:crumb_0,org.olat.core.gui.control.Event@3e35270b</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>	</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:524)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:228)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:241)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:197)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269)
         at org.olat.core.servlets.OpenOLATServlet.doGet(OpenOLATServlet.java:198)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.portfolio.ui.structel.EPMapViewController.view(EPMapViewController.java:237)
         at org.olat.portfolio.ui.EPTemplateRuntimeController.event(EPTemplateRuntimeController.java:79)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:197)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:238)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:236)
         at org.olat.core.gui.components.stack.BreadcrumbedStackedPanel.dispatchEvent(BreadcrumbedStackedPanel.java:193)
         at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:243)
         at org.olat.core.gui.components.link.Link.dispatch(Link.java:199)
         at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:186)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
      

        Attachments

          Activity

            People

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