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

GTA: rs missing group

    XMLWordPrintable

    Details

      Description

      The permission check to load the task doesn't take the groups in account. How to reproduce:

      • Create a course with a task and 2 groups
      • Assign only 1 group to the group task element
      • Log as member of the other group and try to open the group task
        -> red screen

      The permission checks need to be reimplemented as in 12.5

      2019-01-28 19:27:42,970 [ajp-nio2-8008-exec-3] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N8-E26 ^%^ org.olat.core.logging ^%
      
      https://olat.xyz.ch/auth/RepositoryEntry/384860428/CourseNode/92319980361906
      Mozilla/5.0 (iPad; CPU OS 12_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1
      **RedScreen**
      <dispatchinfo>
      	<componentinfo>
      		<compname>luTreeRun</compname>
      		<compclass>org.olat.core.gui.components.tree.MenuTree</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.components.tree.TreeEvent</class&gt;
      			<command>ctncl</command>
      			<tostring>TreeEvent:{cmd:ctncl, nodeid:92319980594360}</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.run.RunMainController</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: 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:589)
         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:273)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:190)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:294)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:237)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.course.nodes.gta.manager.GTAManagerImpl.getTask(GTAManagerImpl.java:909)
         at org.olat.course.nodes.gta.ui.GTAAbstractController.process(GTAAbstractController.java:188)
         at org.olat.course.nodes.gta.ui.GTAParticipantController.<init>(GTAParticipantController.java:114)
         at org.olat.course.nodes.gta.ui.GTARunController.createRun(GTARunController.java:270)
         at org.olat.course.nodes.gta.ui.GTARunController.<init>(GTARunController.java:122)
         at org.olat.course.nodes.GTACourseNode.createNodeRunConstructionResult(GTACourseNode.java:885)
         at org.olat.course.run.navigation.NavigationHandler.doEvaluateJumpTo(NavigationHandler.java:461)
         at org.olat.course.run.navigation.NavigationHandler.evaluateJumpToTreeNode(NavigationHandler.java:286)
         at org.olat.course.run.RunMainController.doNodeClick(RunMainController.java:639)
         at org.olat.course.run.RunMainController.event(RunMainController.java:498)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:206)
      

        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 - 40 minutes
                40m