Project

General

Profile

Actions

Bug #23887

closed

In t3lib_BEfunc::viewOnClick, parameter $altUrl doesn't ignore all other parameters

Added by Mikkel Ricky over 13 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-10-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The method documentation for t3lib_BEfunc::viewOnClick states that

  • @param string $altUrl 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!

This is, however, not the case and it hasn't been since Rev. 4482.

Issue 0011468 addresses this, but the resolution doesn't make using $altUrl work as documented as ($altUrl is used as part of the computed view url).

Solution: use $altUrl as (complete) view url if set. Otherwise compute view url based on other parameters.

(issue imported from #M16188)


Files

patch_16188.diff (3.87 KB) patch_16188.diff Administrator Admin, 2010-10-31 17:10
Actions

Also available in: Atom PDF