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

Delegated Access tool falls over if LDAP is configured but not available, and using local account

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.9.4 [Tentative]
    • Fix Version/s: None
    • Component/s: DelegatedAccess
    • Labels:
      None
    • Previous Issue Keys:
      DAC-55

      Description

      I have an environment where LDAP is configured, but not available (since I am working remotely where LDAP is not available), and am using local accounts only. The rest of Sakai works fine since it falls back to the local accounts, but Delegated Access falls over.

      In the logs I see an LDAP exception when searching, which is expected, but the users are returned ok.

      2013-07-15 22:13:41,715 WARN http-8080-Processor23 edu.amc.sakai.user.JLDAPDirectoryProvider - An error occurred searching for users: com.novell.ldap.LDAPException: (91) Connect Error

      However I see nothing to edit for the user. Screenshot attached. Clicking Save then results in a stack trace.

      ERROR - UserEditPage -
      java.lang.NullPointerException
      at org.sakaiproject.delegatedaccess.tool.pages.BaseTreePage.updateNodeAccess(BaseTreePage.java:46)
      at org.sakaiproject.delegatedaccess.tool.pages.UserEditPage$2.onSubmit(UserEditPage.java:195)
      at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:101)
      at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143)
      at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
      at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:302)
      at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157)
      at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
      at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
      at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                baholladay Bryan Holladay
                Reporter:
                steve.swinsburg Steve Swinsburg
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Git Integration