From 301618d049a5ec4cd4d69c3208bd5482c86f9ded Mon Sep 17 00:00:00 2001 From: srosse <none@none> Date: Tue, 20 Feb 2018 10:28:52 +0100 Subject: [PATCH] OO-3322: reload the repository entry before opening the details page --- .../olat/repository/ui/RepositoryEntryRuntimeController.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/olat/repository/ui/RepositoryEntryRuntimeController.java b/src/main/java/org/olat/repository/ui/RepositoryEntryRuntimeController.java index 6f0095e68a4..da5bdf079f1 100644 --- a/src/main/java/org/olat/repository/ui/RepositoryEntryRuntimeController.java +++ b/src/main/java/org/olat/repository/ui/RepositoryEntryRuntimeController.java @@ -718,7 +718,9 @@ public class RepositoryEntryRuntimeController extends MainLayoutBasicController protected void doDetails(UserRequest ureq) { WindowControl bwControl = getSubWindowControl("Infos"); - RepositoryEntryDetailsController ctrl = new RepositoryEntryDetailsController(ureq, addToHistory(ureq, bwControl), re, true); + + RepositoryEntry entry = loadRepositoryEntry(); + RepositoryEntryDetailsController ctrl = new RepositoryEntryDetailsController(ureq, addToHistory(ureq, bwControl), entry, true); listenTo(ctrl); detailsCtrl = pushController(ureq, translate("details.header"), ctrl); currentToolCtr = detailsCtrl; -- GitLab