Uploaded image for project: 'Contrib: Evaluation System'
  1. Contrib: Evaluation System
  2. EVALSYS-1522

Error after survey with NavBarRenderer (probably anonymous) via url

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 11.x
    • Fix Version/s: 11.x, 12.x
    • Labels:
      None
    • 11 status:
      Resolved
    • Test Plan:
      Hide
      • Create an evaluation (just a simple one question) set the access to anonymous in the settings, make sure it's open
      • Get the Perm Link from the resulting page, try to take it from the link
      • Submit the evaluation, multiple stack traces and an error in the UI comes up making the user think that their submission was not saved, so they may take it again.
      Show
      Create an evaluation (just a simple one question) set the access to anonymous in the settings, make sure it's open Get the Perm Link from the resulting page, try to take it from the link Submit the evaluation, multiple stack traces and an error in the UI comes up making the user think that their submission was not saved, so they may take it again.

      Description

      On evaluations taken from a link (I believe if the evaluation is authentication is none: anonymous allowed) at the end it gives this screen with an error message and stack trace even though it looks like it submitted. This was new functionality introduced in EVALSYS-1472

      I'll try to get a better test plan up for this but it looks like that's all there is to it.

      19-Jun-2017 13:56:19.468 INFO [http-nio-9202-exec-4] org.sakaiproject.evaluation.logic.EvalDeliveryServiceImpl.saveResponse Locking evaluation (61) and associated entities
      19-Jun-2017 13:56:19.487 INFO [http-nio-9202-exec-4] org.sakaiproject.evaluation.logic.EvalDeliveryServiceImpl.saveResponse User (Anon_User_de5dd973-c8cd-4b9c-ada1-e7e5dd6dd5f1) saved respon
      se (123) toevaluation (61) for groupId (/site/c796f76e-c7b5-4d7e-811e-3a45e4fa5662)  with 24 answers, response is complete
      19-Jun-2017 13:56:19.690 WARN [http-nio-9202-exec-7] org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService.getUserHomeLocationReference Cannot get the userhome location
      Reference because there is no current user: null
      19-Jun-2017 13:56:19.696 WARN [http-nio-9202-exec-7] PonderUtilCore.handleLevel1Error Exception rendering view:
      java.lang.IllegalArgumentException: Could not get location from userReference (null) to generate URL
              at org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService.getUserHomeLocationURL(AbstractDeveloperHelperService.java:300)
              at org.sakaiproject.evaluation.tool.renderers.NavBarRenderer.makeNavBar(NavBarRenderer.java:110)
              at org.sakaiproject.evaluation.tool.producers.SummaryProducer.fill(SummaryProducer.java:114)
              at org.sakaiproject.evaluation.tool.producers.EvalCommonProducer.fillComponents(EvalCommonProducer.java:53)
      
       

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  bjones86 Brian Jones
                  Reporter:
                  jonespm Matthew Jones
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration