Bug #41165
closed
Parameter $alternativeUrl not obeyed in t3lib_BEfunc::viewOnClick
Added by Kasper Ligaard about 12 years ago.
Updated about 6 years ago.
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
- Status changed from New to Under Review
- Target version deleted (
6.0.0-RC1)
- TYPO3 Version changed from 6.0 to 4.5
Hi can you rebase your patch to latest master?
Just to clarify:
1) I need to rebase against latest master, not latest 4.5?
2) Will the patch then also be applied to 4.4, 4.5, 4.6, 4.7, 6.0 and 6.1?
PS: I ask because it took three days work last time to jump through all the hoops to get this in, and noone reacted for 8 months. And I suspect it will take another 1-2 days to get this new patch ready (and I fear I have to do it against the new 6.x-series, which I will not waste time on, before a stable LTS release is out).
PPS: I am grateful You are looking into this issue. Thanks :-)
Hi,
you should do this only against master. It will mostly be backported by the active developer team.
The patch will be applied/backported for 6.1, 6.0, 4.7 and 4.5 (all other versions aren't maintained any more).
If you wait till 6.2 LTS is released it is to late to include it in the release and hopefully we are faster this time to merge it. ;-)
BTW: You don't need to create a new issue, I'll update this one if needed.
I give up! Gerrit is the worst system I have ever tried.
I hope you will help me by getting the attached file into Gerrit. The file is correct against latest TYPO3v4 master.
- Status changed from Under Review to Needs Feedback
Yes and I don't want to fight with Gerrit anymore. Gerrit has created a gap which just makes it too difficult for people that are not regular core committers. I just simply refuse to use it anymore. It is a waste of my time.
You can close this issue, if you like. I really don't care anymore. Sorry.
Hmmm, but you don't fight with gerrit you use normal git commands. So your problem seems more the usage of git.
Anyway, I take a look and will update.
Thanks. I really appreciate Your help :-)
- Status changed from Needs Feedback to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF