diff --git a/src/main/java/org/olat/course/learningpath/manager/LearningPathServiceImpl.java b/src/main/java/org/olat/course/learningpath/manager/LearningPathServiceImpl.java index 2a7466f09f0488395739fa1fae62cfcd4def8e98..3572e1437e28793a4dd5ee8b4e9b3377700b1354 100644 --- a/src/main/java/org/olat/course/learningpath/manager/LearningPathServiceImpl.java +++ b/src/main/java/org/olat/course/learningpath/manager/LearningPathServiceImpl.java @@ -72,6 +72,7 @@ public class LearningPathServiceImpl implements LearningPathService { course = CourseFactory.openCourseEditSession(course.getResourceableId()); course.getCourseConfig().setNodeAccessType(LearningPathNodeAccessProvider.TYPE); + CourseFactory.setCourseConfig(course.getResourceableId(), course.getCourseConfig()); TreeVisitor tv = new TreeVisitor(new PostMigrationVisitor(registry), course.getEditorTreeModel().getRootNode(), true); tv.visitAll();