Uploaded image for project: 'LAMS Development'
  1. LAMS Development
  2. LDEV-2729

Can't access wiki pages from Monitor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4, 2.3.6
    • Fix Version/s: 2.4, 2.3.6
    • Component/s: Tool Wiki
    • Labels:
      None

      Description

      When trying to access a wiki page from monitor (via student view), you get the following exception:

      javax.servlet.ServletException: userID is required 'null' Hide detail
      javax.servlet.ServletException: userID is required 'null' at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)


      To reproduce this:

      1) Start a lesson with a wiki activity
      2) Jump on it as learner and create an add page
      3) Go into monitor, click on the student tap, then click on your username's wiki and once the page opens try to open the name of the page you just created in learner...
      4) Kaboom!


      Note that this does not occur if you go into monitor via de "Sequence" tab in monitor (so this might be a clue).



        Activity

        Hide
        ernieg Ernie Ghiglione added a comment -
        Have a look at this animation sent by our client
        Show
        ernieg Ernie Ghiglione added a comment - Have a look at this animation sent by our client
        Hide
        marcin Marcin Cieslak added a comment -
        Fixed by adding a hidden "userID" property in LearningForm, so subsequent requests can always access it.
        Show
        marcin Marcin Cieslak added a comment - Fixed by adding a hidden "userID" property in LearningForm, so subsequent requests can always access it.
        Hide
        ernieg Ernie Ghiglione added a comment -
        Committed to both branches now, tested and closed.

        Thanks Marcin
        Show
        ernieg Ernie Ghiglione added a comment - Committed to both branches now, tested and closed. Thanks Marcin

          People

          • Assignee:
            marcin Marcin Cieslak
            Reporter:
            ernieg Ernie Ghiglione
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development