Skip to content
Snippets Groups Projects
Commit 927be11f authored by srosse's avatar srosse
Browse files

OO-3417: fix id of password interceptor bean, fix NPE in course config

parent 94adb74e
No related branches found
No related tags found
No related merge requests found
......@@ -567,7 +567,7 @@ public class CourseConfig implements Serializable, Cloneable {
public boolean isBreadCrumbEnabled() {
Boolean bool = (Boolean) configuration.get(BREADCRUMB_ENABLED);
return bool.booleanValue();
return bool == null ? true : bool.booleanValue();
}
public void setBreadCrumbEnabled(boolean b) {
......
......@@ -90,7 +90,7 @@
</bean>
<!-- Password change -->
<bean id="reservation.AfterLogin.Injection" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<bean id="changePassword.AfterLogin.Injection" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetObject" ref="afterLoginInterceptionManager" />
<property name="targetMethod" value="addAfterLoginControllerConfig" />
<property name="arguments">
......
......@@ -88,7 +88,8 @@ public class RepositoryEditDescriptionPage {
public RepositoryEditDescriptionPage save() {
By saveBy = By.cssSelector("div.o_sel_repo_save_details button.btn-primary");
OOGraphene.clickAndWait(saveBy, browser);
OOGraphene.click(saveBy, browser);
OOGraphene.waitBusy(browser);
return this;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment