Bug #20713

$altUrl parameter has no effect in t3lib_BEfunc::viewOnClick()

Added by Fabrizio Branca over 10 years ago. Updated over 9 years ago.

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

0%

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

Description

Problem:
In Revision 4482 (for bug #19628) the internal structure of the method t3lib_BEfunc::viewOnClick() was changed. The main thing is, that this method returns two urls (for workspace preview enabled and disabled) at the same time and let javscript decide which url to us to open a new window.
The method has an optional fifth parameter "altUrl" that was used as url before instead of the url(s) generated inside the method. But this parameter will not be used anymore.

Solution:
Set both urls (workspace preview enabled and disabled) to the altUrl.

(issue imported from #M11468)

11468.patch View (4.05 KB) Administrator Admin, 2009-07-03 16:17

11468_v2.patch View (4.05 KB) Administrator Admin, 2009-11-15 23:28

11468_v2_clean.patch View (1.13 KB) Administrator Admin, 2009-11-15 23:28

History

#1 Updated by Steffen Kamper about 10 years ago

committed to trunk, rev 6487

Also available in: Atom PDF