[TYPO3-core] Feature for work correctly and safe with workspace and live

marco de felice m.defelice at alkemytech.it
Thu Jul 27 16:23:22 CEST 2017


Hi,
I'm a beginner in develop typo3, I'm working with typo since 2 years.
through a editors work they often switch form workspace preview end live preview, and when they works with a admin pannel in preview mode from workspace, they setting up a time simulation and when they open a live site, typo3 wrong to show a content becouse when the editor view a site into live mode and not into workspace preview, typo3 recovery a SIM_ACCESS_TIME (at row 1304 of TypoScriptFrontendController.php ) setting up on admin pannel, and the site does not work properly

I think to modify a /typo3_src-7.6.20/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php at row 1289, and delete $this->beUserLogin, in this way typo3 does not recovery in live mode a information form admin panel and it work fine

it's a correct way?

delete these $this->beUserLogin || 
 if ($this->beUserLogin || $this->doWorkspacePreview()) {
            .......
                    if ($simTime) {
                        $GLOBALS['SIM_EXEC_TIME'] = $simTime;
                        $GLOBALS['SIM_ACCESS_TIME'] = $simTime - $simTime % 60;
                    }
                   .....
        }


More information about the TYPO3-team-core mailing list