diff --git a/src/main/java/org/olat/repository/ui/author/AuthorListController.java b/src/main/java/org/olat/repository/ui/author/AuthorListController.java index 71b5e7ca6c4e0ff9b7ab423adff7e6f891b9ef9d..54d1efd23395b4e8622ee3045992a937f5ad16bf 100644 --- a/src/main/java/org/olat/repository/ui/author/AuthorListController.java +++ b/src/main/java/org/olat/repository/ui/author/AuthorListController.java @@ -760,8 +760,16 @@ public class AuthorListController extends FormBasicController implements Activat NewControllerFactory.getInstance().launch(businessPath, ureq, getWindowControl()); } - private void launchEditDescription(UserRequest ureq, RepositoryEntryRef ref) { - String businessPath = "[RepositoryEntry:" + ref.getKey() + "][EditDescription:0]"; + private void launchEditDescription(UserRequest ureq, RepositoryEntry re) { + RepositoryHandler handler = repositoryHandlerFactory.getRepositoryHandler(re); + if(handler != null && handler.supportsLaunch()) { + String businessPath = "[RepositoryEntry:" + re.getKey() + "][EditDescription:0]"; + NewControllerFactory.getInstance().launch(businessPath, ureq, getWindowControl()); + } + } + + private void launchEditDescription(UserRequest ureq, RepositoryEntryRef re) { + String businessPath = "[RepositoryEntry:" + re.getKey() + "][EditDescription:0]"; NewControllerFactory.getInstance().launch(businessPath, ureq, getWindowControl()); }