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

Merge remote-tracking branch 'origin/OpenOLAT_14.1'

parents 532ae4fc 9676e65d
No related branches found
No related tags found
No related merge requests found
......@@ -251,7 +251,7 @@ public class SurveyCourseNode extends AbstractAccessableCourseNode {
RepositoryEntry ores = RepositoryManager.getInstance().lookupRepositoryEntry(course, true);
EvaluationFormManager evaluationFormManager = CoreSpringFactory.getImpl(EvaluationFormManager.class);
RepositoryEntry formEntry = getEvaluationForm(getModuleConfiguration());
EvaluationFormSurveyIdentifier surveyIdent = of(ores, getIdent());
EvaluationFormSurveyIdentifier surveyIdent = of(ores, nodeIdent);
EvaluationFormSurvey survey = evaluationFormManager.loadSurvey(surveyIdent);
if (survey == null) {
survey = evaluationFormManager.createSurvey(surveyIdent, formEntry);
......
......@@ -45,7 +45,6 @@ import org.olat.course.assessment.AssessmentManager;
import org.olat.course.nodes.SurveyCourseNode;
import org.olat.course.run.userview.UserCourseEnvironment;
import org.olat.modules.assessment.Role;
import org.olat.modules.card2brain.manager.Card2BrainManagerImpl;
import org.olat.modules.forms.EvaluationFormManager;
import org.olat.modules.forms.EvaluationFormParticipation;
import org.olat.modules.forms.EvaluationFormParticipationIdentifier;
......@@ -62,7 +61,7 @@ import org.springframework.beans.factory.annotation.Autowired;
*/
public class SurveyRunController extends BasicController {
private static final Logger log = Tracing.createLoggerFor(Card2BrainManagerImpl.class);
private static final Logger log = Tracing.createLoggerFor(SurveyRunController.class);
private VelocityContainer mainVC;
private Link resetLink;
......
......@@ -1433,7 +1433,7 @@ public class AssessmentTest extends Deployments {
UserVO kanu = new UserRestClient(deploymentUrl).createRandomUser("kanu");
UserVO ryomou = new UserRestClient(deploymentUrl).createRandomUser("ryomou");
LoginPage authorLoginPage = LoginPage.load(ryomouBrowser, deploymentUrl);
LoginPage authorLoginPage = LoginPage.load(browser, deploymentUrl);
authorLoginPage.loginAs(author.getLogin(), author.getPassword());
//create a course
......
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