//NotificationsManager.getInstance().delete(publisher);
// return nothing available
return null;
}
ModuleConfiguration config = ((WikiCourseNode)courseNode).getModuleConfiguration();
RepositoryEntry re = WikiEditController.getWikiRepoReference(config, true);
resId = re.getOlatResource().getResourceableId();
businessPath = "[RepositoryEntry:" + re.getKey().toString() + "]"
+ "[CourseNode:" + publisher.getSubidentifier() + "]";
} else {
// resName = 'BusinessGroup' or 'FileResource.WIKI'
OLATResourceable ores = OresHelper.createOLATResourceableInstance(publisher.getResName(), resId);
BusinessGroup bGroup = BusinessGroupManagerImpl.getInstance().loadBusinessGroup(resId, false);
if (bGroup==null) {
// Wiki as Repo-Ressource
RepositoryEntry re = RepositoryManager.getInstance().lookupRepositoryEntry(ores,false);
if (re != null) {
businessPath = "[RepositoryEntry:" + re.getKey().toString() + "]"
+ "["+re.getOlatResource().getResourceableTypeName()+":" + re.getResourceableId() + "]";
} else {
//repo entry not found, delete publisher
logInfo("deleting publisher with key; "+publisher.getKey(), null);
//NotificationsManager.getInstance().delete(publisher);
return null;