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

Statistics - Lessons - By Page - Complete Report - Link to Lessons page doesn't take you to Lessons

    XMLWordPrintable

    Details

    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      ISSUE

      When clicking the link to a specific Lessons page within the Statistics tool, Sakai produces an error.

      STEPS TO REPLICATE

      1. Create a project site with Lessons, Statistics, and whatever tools you want
      2. Add a student users
      3. Click around in Lessons with both users to have some stats
      4. Click Statistics
      5. Under the "Lessons" heading at the bottom, click "Show More"
      6. Click the "By Page" tab
      7. Click "View Complete Report"
      8. Scroll down and click any of the links for the Lessons pages in the table
      9. A bug report page displays

      NOTE: This happens in Trunk (not 12.x). However, the behavior in 12.x is simply to refresh the same page... which doesn't accomplish anything meaningful. It's unclear what the link should produce.  See SAK-40296.

      SAMPLE ERROR PRODUCED

      Technical Details
      This information will automatically be included in your bug report.
      
      org.sakaiproject.portal.api.PortalHandlerException: Unable to find component with id 'content' in [SubmitLink [Component id = link]]
      Expected: 'reportChart:link:content'.
      Found with similar names: 'debug:content'
      MarkupStream: [markup = file:/var/trunk-mysql/webapps/sitestats-tool/html/components/AjaxLazyLoadImage.html
      <a wicket:id="link">
      <img wicket:id="content" style="display: none;"></img>
      </a>, index = 2, current = '<img wicket:id="content" style="display: none;">' (line 0, column 0)]
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:857)
      caused by: Unable to find component with id 'content' in [SubmitLink [Component id = link]]
      Expected: 'reportChart:link:content'.
      Found with similar names: 'debug:content'
      MarkupStream: [markup = file:/var/trunk-mysql/webapps/sitestats-tool/html/components/AjaxLazyLoadImage.html
      <a wicket:id="link">
      <img wicket:id="content" style="display: none;"></img>
      </a>, index = 2, current = '<img wicket:id="content" style="display: none;">' (line 0, column 0)]
      at org.apache.wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:526)
      at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1441)
      at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1560)
      at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1535)
      at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1490)
      at org.apache.wicket.markup.html.link.AbstractLink.onComponentTagBody(AbstractLink.java:186)
      at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:71)
      at org.apache.wicket.Component.internalRenderComponent(Component.java:2537)
      at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1499)
      at org.apache.wicket.Component.internalRender(Component.java:2367)
      at org.apache.wicket.Component.render(Component.java:2295)
      at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1395)
      at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1560)
      at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1535)
      at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:689)
      at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcingStrategy.java:76)
      at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:112)
      at org.apache.wicket.Component.internalRenderComponent(Component.java:2537)
      at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1499)
      at org.apache.wicket.Component.internalRender(Component.java:2367)
      at org.apache.wicket.Component.render(Component.java:2295)
      at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1395)
      at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1560)
      at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1535)
      at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1490)
      at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:71)
      at org.apache.wicket.Component.internalRenderComponent(Component.java:2537)
      at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1499)
      at org.apache.wicket.Component.internalRender(Component.java:2367)
      at org.apache.wicket.Component.render(Component.java:2295)
      at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1395)
      at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1560)
      at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1535)
      at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1490)
      at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:71)
      at org.apache.wicket.Component.internalRenderComponent(Component.java:2537)
      at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1499)
      at org.apache.wicket.Component.internalRender(Component.java:2367)
      at org.apache.wicket.Component.render(Component.java:2295)
      at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1395)
      at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1560)
      at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1535)
      at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1490)
      at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:71)
      at org.apache.wicket.Component.internalRenderComponent(Component.java:2537)
      at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1499)
      at org.apache.wicket.Component.internalRender(Component.java:2367)
      at org.apache.wicket.Component.render(Component.java:2295)
      at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1395)
      at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1560)
      at org.apache.wicket.Page.onRender(Page.java:887)
      at org.apache.wicket.markup.html.WebPage.onRender(WebPage.java:141)
      at org.apache.wicket.Component.internalRender(Component.java:2367)
      at org.apache.wicket.Component.render(Component.java:2295)
      at org.apache.wicket.Page.renderPage(Page.java:1024)
      at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:139)
      at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:229)
      at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
      at org.apache.wicket.core.request.handler.RequestSettingRequestHandler.respond(RequestSettingRequestHandler.java:78)
      at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890)
      at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
      at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
      at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
      at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
      at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
      at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
      at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
      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: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: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:1488)
      at org.sakaiproject.portal.charon.handlers.SiteHandler.doToolBuffer(SiteHandler.java:1228)
      at org.sakaiproject.portal.charon.handlers.SiteHandler.bufferContent(SiteHandler.java:1062)
      at org.sakaiproject.portal.charon.handlers.SiteHandler.doSite(SiteHandler.java:491)
      at org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:267)
      at org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:155)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:857)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
      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:199)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
      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:677)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:412)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:754)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1385)
      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)
      
      user: 8336565e-3210-4a2e-836d-675bdf399926
      
      usage-session: 2a859bde-59d7-45ab-9f69-b0386d1508a6
      
      time: Jul 10, 2018 11:12:17
      

       

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  alanregan Alan Regan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code