roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harald Wellmann (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ROL-1853) Editing a user in the user administration page causes an exception
Date Sun, 28 Feb 2010 14:59:05 GMT

    [ https://issues.apache.org/jira/browse/ROL-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839429#action_12839429
] 

Harald Wellmann commented on ROL-1853:
--------------------------------------

I had the same problem and fixed it by catching the NoSuchBeanDefinitionException (not sure
if this is the best solution). After that, I ran into a second problem: I was not able to
reactivate  a deactivated user. I fixed this in ModifyUser.myPrepare().

Apply the attached patch file to roller-project/weblogger-web/src/main/java.

> Editing a user in the user administration page causes an exception
> ------------------------------------------------------------------
>
>                 Key: ROL-1853
>                 URL: https://issues.apache.org/jira/browse/ROL-1853
>             Project: Roller
>          Issue Type: Bug
>    Affects Versions: 5.0
>         Environment: jboss-4.2.3, mysql, ubuntu 9.10
>            Reporter: Christopher Blasnik
>            Assignee: David Johnson
>             Fix For: 5.0
>
>         Attachments: DeactivateUser.patch
>
>
> 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>    

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message