diff --git a/src/main/java/org/olat/course/CourseFactory.java b/src/main/java/org/olat/course/CourseFactory.java index e3e3f481a888225b6cf28bbc31ddce8f4a6ea38f..f591e9134b482501f2cc81040ee5e97122ee95ad 100644 --- a/src/main/java/org/olat/course/CourseFactory.java +++ b/src/main/java/org/olat/course/CourseFactory.java @@ -44,6 +44,7 @@ import org.olat.basesecurity.SecurityGroup; import org.olat.commons.calendar.CalendarManager; import org.olat.commons.calendar.CalendarManagerFactory; import org.olat.commons.calendar.ui.components.KalendarRenderWrapper; +import org.olat.core.CoreSpringFactory; import org.olat.core.commons.fullWebApp.LayoutMain3ColsController; import org.olat.core.commons.modules.bc.FolderConfig; import org.olat.core.commons.modules.bc.vfs.OlatRootFolderImpl; @@ -88,6 +89,7 @@ import org.olat.core.util.tree.Visitor; import org.olat.core.util.vfs.VFSItem; import org.olat.core.util.xml.XStreamHelper; import org.olat.course.archiver.ScoreAccountingHelper; +import org.olat.course.assessment.manager.UserCourseInformationsManager; import org.olat.course.config.CourseConfig; import org.olat.course.config.CourseConfigManagerImpl; import org.olat.course.config.ui.courselayout.CourseLayoutHelper; @@ -581,6 +583,9 @@ public class CourseFactory extends BasicManager { RepositoryEntry existingEntry = repositoryManager.lookupRepositoryEntryBySoftkey(softKey, false); if (existingEntry != null) { Tracing.logInfo("RepositoryEntry with softkey " + softKey + " already exists. Course will not be deployed.", CourseFactory.class); + //seem to be a problem + UserCourseInformationsManager userCourseInformationsManager = CoreSpringFactory.getImpl(UserCourseInformationsManager.class); + userCourseInformationsManager.deleteUserCourseInformations(existingEntry); CourseFactory.deleteCourse(newCourseResource); return existingEntry; } diff --git a/src/main/java/org/olat/course/_spring/courseContext.xml b/src/main/java/org/olat/course/_spring/courseContext.xml index 404d0881756cf321d1ab5fd018b7eeff3f14135d..21fa8a0f0b6bcd61ff7c113d75b7b746870dbaeb 100644 --- a/src/main/java/org/olat/course/_spring/courseContext.xml +++ b/src/main/java/org/olat/course/_spring/courseContext.xml @@ -41,10 +41,10 @@ </bean> <!-- this one is the help course which will server as the online help, helpAsser flag is TRUE! --> <bean class="org.olat.course.DeployableCourseExport"> - <property name="courseUrl" value="http://nexus.openolat.org/nexus/content/repositories/openolat/org/openolat/help/OpenOLAT-Help/8.0/OpenOLAT-Help-8.0.zip" /> - <property name="identifier" value="OLAT Hilfe" /> + <property name="courseUrl" value="http://nexus.openolat.org/nexus/content/repositories/openolat/org/openolat/help/OpenOLAT-Help/8.1/OpenOLAT-Help-8.1.zip" /> + <property name="identifier" value="OLAT::help-course_de.zip" /> <property name="access" value="4" /> - <property name="version" value="8.0" /> + <property name="version" value="8.1" /> <property name="redeploy" value="true" /> <!-- Url to the course which should be used as help course. The specified course will be used