Page 1 of 1

Demo 2.2.0 - Spring complains for AdminLoginController

Posted: Tue Mar 12, 2013 3:08 am
by staleks
Hi all,

recently I've "upgraded" BLC from 2.0.1-GA to 2.2.0-GA.

There were a lot of changes in Admin module :)

Now in file: /WEB-INF/applicationContext-servlet-admin.xml

Spring is complaining about not having setters for "loginView", "forgotPasswordView", etc.

Code: Select all

    <bean id="blAdminLoginController" class="com.mycompany.admin.controller.AdminLoginController">
        <property name="loginView" value="admin/login/login"/>
        <property name="forgotPasswordView" value="admin/login/forgotPassword"/>
        <property name="forgotUsernameView" value="admin/login/forgotUsername"/>
        <property name="resetPasswordView" value="admin/login/resetPassword"/>
        <property name="changePasswordView" value="admin/login/changePassword"/>
    </bean>


Even AdminLoginController extends BroadleafAdminLoginController, which has appropriate setters, Spring validation of this file in admin module fails.
I can think that one of the reasons is that those setters are made "static".

What do you think?

Re: Demo 2.2.0 - Spring complains for AdminLoginController

Posted: Fri Apr 12, 2013 2:44 pm
by jefffischer
Are you saying the admin does not start for you? We haven't noticed any issues in 2.2 demo with the admin not starting because of this controller.