Skip to content
Snippets Groups Projects
Commit adacf33b authored by uhensler's avatar uhensler
Browse files

OO-4207: Type of migrated learning path course is not saved

parent 18826775
No related branches found
No related tags found
No related merge requests found
...@@ -72,6 +72,7 @@ public class LearningPathServiceImpl implements LearningPathService { ...@@ -72,6 +72,7 @@ public class LearningPathServiceImpl implements LearningPathService {
course = CourseFactory.openCourseEditSession(course.getResourceableId()); course = CourseFactory.openCourseEditSession(course.getResourceableId());
course.getCourseConfig().setNodeAccessType(LearningPathNodeAccessProvider.TYPE); course.getCourseConfig().setNodeAccessType(LearningPathNodeAccessProvider.TYPE);
CourseFactory.setCourseConfig(course.getResourceableId(), course.getCourseConfig());
TreeVisitor tv = new TreeVisitor(new PostMigrationVisitor(registry), course.getEditorTreeModel().getRootNode(), true); TreeVisitor tv = new TreeVisitor(new PostMigrationVisitor(registry), course.getEditorTreeModel().getRootNode(), true);
tv.visitAll(); tv.visitAll();
......
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