Issue Bug Closed

#41165Parameter $alternativeUrl not obeyed in t3lib_BEfunc::viewOnClick

Kasper Ligaard 09/21/12, 14:24 updated 10/02/18, 12:16

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.