Project

General

Profile

Actions

Bug #20825

closed

Enable Frontend Preview does not work until switched

Added by Fabrizio Branca over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-08-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Problem:
The frontend preview does not work until switched at least once with "Enable Frontend Preview". Links using t3lib_befunc::viewOnClick() will open the wrong url, because they check if top.WorkspaceFrontendPreviewEnabled if true, which it is in any case, because it is initialized with strings and string "false" is true...

Solution:
Replace strings by 0 and 1 (see patch)

(issue imported from #M11633)


Files

11633.patch (732 Bytes) 11633.patch Administrator Admin, 2009-08-03 18:14
11633.diff (892 Bytes) 11633.diff Administrator Admin, 2009-11-04 19:59
Actions

Also available in: Atom PDF