contextManager.copyAndAddBGContextToResource(learningGroupContextName, this.courseResource, origContext);
// no need to add it to list of contexts, already done by copyAndAddBGContextToResource
} else {
// not a course default context but an associated context - copy only
// reference
contextManager.addBGContextToResource(origContext, courseResource);
// no need to add it to list of contexts, already done by addBGContextToResource
}
}
// 2. do copy right group contexts
List origRgC = originalCourseGroupManager.getRightGroupContexts();