Actions
Bug #23887
closedIn t3lib_BEfunc::viewOnClick, parameter $altUrl doesn't ignore all other parameters
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
Actions