Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-1853

Editing a user in the user administration page causes an exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      jboss-4.2.3, mysql, ubuntu 9.10

      Description

      Editing an existing user and then saving OR cancelling the action causes the following message:

      Unexpected Exception
      Status Code 500
      Message No bean named 'userCache' is defined
      Type
      Exception Roller has encountered and logged an unexpected exception.

      Where userCache seems to be configured (and currently uncommented) in security.xml:

      <bean id="ldapAuthProvider" class="org.springframework.security.providers.ldap.LdapAuthenticationProvider">
      <constructor-arg>
      <bean class="org.springframework.security.providers.ldap.authenticator.BindAuthenticator">
      <constructor-arg ref="initialDirContextFactory"/>
      <property name="userSearch" ref="ldapUserSearch"/>
      </bean>
      </constructor-arg>
      <constructor-arg ref="jdbcAuthoritiesPopulator"/>
      <property name="userCache" ref="userCache"/>
      </bean>

        Attachments

        1. DeactivateUser.patch
          2 kB
          Harald Wellmann

          Activity

            People

            • Assignee:
              djohnson David Johnson
              Reporter:
              cblasnik Christopher Blasnik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: