Project

General

Profile

Actions

Bug #41165

closed

Parameter $alternativeUrl not obeyed in t3lib_BEfunc::viewOnClick

Added by Kasper Ligaard about 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-09-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

In the method viewOnClick the parameter $alternativeUrl is documented like this: "$alternativeUrl is an alternative URL which - if set - will make all other parameters ignored: The function will just return the window.open command wrapped around this URL! The hook will allow modification, though."

But that is not obeyed anymore. The semantics of the method was inadvertently changed when a hook was added, see bug #22157. Rectifying the semantics while keeping the hook is luckily no problem.

The change needs to be done in TYPO3 4.4, 4.5, 4.6, 4.7 and 6.0.

PS: I first targeted this for 4.5, but since the change should also be in 6.0 I create this issue, since I couldn't find any way to modify the first issue, #41130.


Files

BackendUtility.php (177 KB) BackendUtility.php Kasper Ligaard, 2013-05-22 14:23

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #41130: Parameter $alternativeUrl not obeyed in t3lib_BEfunc::viewOnClickClosed2012-09-20

Actions
Actions

Also available in: Atom PDF