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

UserDirectory errors when reviewing scores for Survey

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0, 1.5.1, 2.0, 2.0.1
    • Fix Version/s: 2.1.0
    • Labels:
      None
    • Environment:
      All
    • Previous Issue Keys:
      SAM-545

      Description

      During the scores action on a survey, the anonymous users are resolved in TotalScoresListener by a call to UserDirectoryService. Because these users will not exist in most if not all external directory providers, this call to UserDirectoryService throws an exception causing a blank screen.

      In TotalScoresListener.totalScores , a new AgentFacade is created and calls to this facade delegate to UserDirectoryService. Would it be possible to test for the anonymous survey taker and if found, bypass the creation of the AgentFacade creation?

      Stack trace (each anonymous user for the survey throws the same error):

      INFO: TotalScore LISTENER. (2005-08-19 15:22:05,497 TP-Processor1_org.sakaiproject.tool.assessment.ui.listener.evaluation.TotalScoreListener)
      RACHEL: Creating a new totalscoresbean
      INFO: Calling totalScores. (2005-08-19 15:22:05,544 TP-Processor1_org.sakaiproject.tool.assessment.ui.listener.evaluation.TotalScoreListener)
      123474.380: [GC 123474.380: [DefNew: 228961K->16975K(235968K), 0.2352440 secs] 686798K->477668K(1022400K), 0.2353900 secs]
      123480.375: [GC 123480.376: [DefNew: 226256K->3284K(235968K), 0.1089590 secs] 686949K->466657K(1022400K), 0.1092240 secs]
      123486.023: [GC 123486.023: [DefNew: 213075K->3198K(235968K), 0.1000640 secs] 676448K->466571K(1022400K), 0.1001690 secs]
      ERROR: org.sakaiproject.component.legacy.user.IndianaUnivUserDirectoryProvider@1ba1d9.getUser(): getAdsPerson(anonymous_1123690389818) failed: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001CD, problem 2001 (NO_OBJECT), data 0, best match of:
      'OU=Accounts,DC=ads,DC=iu,DC=edu'

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                daisyf@stanford.edu Daisy Flemming (Inactive)
                Reporter:
                jlannan@iupui.edu Jarrod Lannan (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 2 hours
                    2h
                    Remaining:
                    Remaining Estimate - 2 hours
                    2h
                    Logged:
                    Time Spent - Not Specified
                    Not Specified

                      Git Integration