From 122b0ae20940337f631bee33b057adea298e565d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kurf=C3=BCrst?= Date: Wed, 20 Dec 2017 11:50:36 +0100 Subject: [PATCH] BUGFIX: Workspace preview should point to base workspace Without this change, the Preview button always points to the Live workspace (which is of course wrong when using nested workspaces). --- Configuration/Settings.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configuration/Settings.yaml b/Configuration/Settings.yaml index 1dbe700e31..2f3a3f33df 100644 --- a/Configuration/Settings.yaml +++ b/Configuration/Settings.yaml @@ -76,7 +76,7 @@ Neos: metaData: contextPath: '${q(documentNode).property("_contextPath")}' siteNode: '${q(site).property(''_contextPath'')}' - previewUrl: '${Neos.Ui.NodeInfo.uri(q(documentNode).context({workspaceName: "live"}).get(0), controllerContext)}' + previewUrl: '${Neos.Ui.NodeInfo.uri(q(documentNode).context({workspaceName: documentNode.context.workspace.baseWorkspace.name}).get(0), controllerContext)}' contentDimensions: active: '${documentNode.context.dimensions}' allowedPresets: '${Neos.Ui.ContentDimensions.allowedPresetsByName(documentNode.context.dimensions)}'