From 33bf5f2d72466708945cc91374096edf0c7c6483 Mon Sep 17 00:00:00 2001
From: srosse <stephane.rosse@frentix.com>
Date: Tue, 13 Nov 2018 14:33:27 +0100
Subject: [PATCH] OO-3731: beautify the execution URL

---
 .../quality/ui/ExecutorParticipationsListController.java   | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/olat/modules/quality/ui/ExecutorParticipationsListController.java b/src/main/java/org/olat/modules/quality/ui/ExecutorParticipationsListController.java
index 1d0ebbb255d..69f4de61864 100644
--- a/src/main/java/org/olat/modules/quality/ui/ExecutorParticipationsListController.java
+++ b/src/main/java/org/olat/modules/quality/ui/ExecutorParticipationsListController.java
@@ -206,10 +206,11 @@ public class ExecutorParticipationsListController extends FormBasicController im
 		executionCtrl = new ExecutionController(ureq, bwControl, participation);
 		listenTo(executionCtrl);
 		
-		ChiefController cc = getWindowControl().getWindowBackOffice().getChiefController();
-		String businessPath = getWindowControl().getBusinessControl().getAsString();
+		WindowControl wControl = getWindowControl();
+		ChiefController cc = wControl.getWindowBackOffice().getChiefController();
+		String businessPath = executionCtrl.getWindowControlForDebug().getBusinessControl().getAsString();
 		cc.getScreenMode().setMode(Mode.full, businessPath);
-		getWindowControl().pushToMainArea(executionCtrl.getInitialComponent());
+		wControl.pushToMainArea(executionCtrl.getInitialComponent());
 	}
 
 	@Override
-- 
GitLab