[BUGFIX] Correctly assign workspace for rootline retrieval 67/42867/2
authorMarkus Klein <markus.klein@typo3.org>
Tue, 25 Aug 2015 10:55:26 +0000 (12:55 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Tue, 25 Aug 2015 11:13:51 +0000 (13:13 +0200)
Resolves: #69306
Releases: master, 6.2
Change-Id: If59ec36222c1124c2918b39fc014e4c8a2d7bf2f
Reviewed-on: http://review.typo3.org/42867
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php

index 173f0ce..3114133 100644 (file)
@@ -1668,7 +1668,7 @@ class TypoScriptFrontendController {
                        $ws = $this->whichWorkspace();
                        if ($this->sys_page->error_getRootLine_failPid == -1 && $ws) {
                                $this->sys_page->versioningPreview = TRUE;
-                               $this->versioningWorkspaceId = $ws;
+                               $this->sys_page->versioningWorkspaceId = $ws;
                                $this->rootLine = $this->sys_page->getRootLine($this->id, $this->MP);
                        }
                        if (!count($this->rootLine)) {