Bug #20993
closedconfig.message_preview dosn't work anymore in TYPO3 4.3
0%
Description
if you activate preview_showHiddenRecords or preview_showHiddenPages in admPanel or UserTS, you got a MessageBox in the right upper Corner.
StandardMessage is "PREVIEW", with config.message_preview you can override the whole box but this dosn't work anymore.
Now it's displaying the message for a workspace "Preview of workspace "" (0)"
it's located in class.tslib_fe.php in
function previewInfo() { (line 3687)
...
if ($this->fePreview==2) {
}
with introdution of this part
"
if ($this->beUserLogin && ($GLOBALS['BE_USER']->adminPanel instanceof tslib_AdminPanel)) {
$this->fePreview = $GLOBALS['BE_USER']->adminPanel->extGetFeAdminValue('preview') ? true : false;
"
var $this->fePreview is now a boolean character and the If statement is not working correkt
(issue imported from #M11872)