Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-42263

Regression: Samigo > Published Quiz > Scores > Questions > Produces bug report

    Details

    • Test Plan:
      Hide

      Steps to reproduce:

      1. In any site, create and publish a very simple quiz (can be as simple as one true/false question)
      2. Take the quiz as a student/access member
      3. As instructor/maintainer, go to the published quiz's 'Scores' UI
      4. Click the 'Questions' tab
      5. Notice it transfers you back to the landing page, but it looks strange (table has less columns, styling is a little off, etc.)
      6. Again, go to the published quiz's 'Scores' UI
      7. Again, click the 'Questions' tab
      8. Bug report is produced
      Show
      Steps to reproduce: In any site, create and publish a very simple quiz (can be as simple as one true/false question) Take the quiz as a student/access member As instructor/maintainer, go to the published quiz's 'Scores' UI Click the 'Questions' tab Notice it transfers you back to the landing page, but it looks strange (table has less columns, styling is a little off, etc.) Again, go to the published quiz's 'Scores' UI Again, click the 'Questions' tab Bug report is produced

      Description

      The following stack trace is produced when attempting to view the "Questions" tab of any published quiz:

      org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: org.apache.jasper.JasperException: /jsf/evaluation/questionScore.jsp (line: [287], column: [2]) The end tag "</t:dataList" is unbalanced
          at org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:73)
      caused by: org.sakaiproject.tool.api.ToolException: org.apache.jasper.JasperException: /jsf/evaluation/questionScore.jsp (line: [287], column: [2]) The end tag "</t:dataList" is unbalanced
          at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1490)
      caused by: org.apache.jasper.JasperException: /jsf/evaluation/questionScore.jsp (line: [287], column: [2]) The end tag "</t:dataList" is unbalanced
          at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
          at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:292)
          at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:98)
          at org.apache.jasper.compiler.Parser.checkUnbalancedEndTag(Parser.java:1606)
          at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1471)
          at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1683)
          at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1016)
          at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1291)
          at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1470)
          at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1683)
          at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1016)
          at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1291)
          at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1470)
          at org.apache.jasper.compiler.Parser.parse(Parser.java:144)
          at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
          at org.apache.jasper.compiler.ParserController.parse(ParserController.java:105)
          at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:206)
          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:385)
          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:362)
          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:346)
          at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:603)
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
          at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
          at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:426)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)
          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
          at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:791)
          at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:380)
          at com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:130)
          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:102)
          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:223)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:671)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
          at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
          at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:426)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)
          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
          at org.sakaiproject.jsf.util.SamigoJsfTool.dispatch(SamigoJsfTool.java:360)
          at org.sakaiproject.jsf2.util.JsfTool.doPost(JsfTool.java:250)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:352)
          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
          at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:513)
          at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1490)
          at org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:200)
          at org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:96)
          at org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:73)
          at org.sakaiproject.portal.charon.SkinnableCharonPortal.doPost(SkinnableCharonPortal.java:1172)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
          at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:475)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
          at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
          at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:679)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
          at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
          at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
          at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:836)
          at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1747)
          at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
          at java.lang.Thread.run(Thread.java:748)
      

      Tested on trunk nightly. This appears to be a regression introduced by SAK-34741

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bjones86 Brian Jones
                  Reporter:
                  bjones86 Brian Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code