Bug #41130
closedParameter $alternativeUrl not obeyed in t3lib_BEfunc::viewOnClick
0%
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.
NB: This is my first attempt at submitting to core after the change last year, so bear with me and guide me, if I do something the wrong way. I will start with (trying) to upload a patch for review in Gerrit in review.typo3.org.