Actions
Feature #18610
closed$back_path is not passed to t3lib_BEfunc::editOnClick from t3lib_positionmap
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-04-12
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.0
Tags:
Complexity:
Sprint Focus:
Description
The $back_path is passed empty, so when you use the t3lib_positionmap class to create a new page wizard, it refers to <plugin dir>alt_doc.php
By changing to onClickEvent function to the code below the reference is ok
function onClickEvent($pid,$newPagePID) {
$TSconfigProp = $this->getModConfig($newPagePID);
if ($TSconfigProp['overrideWithExtension']) {
if (t3lib_extMgm::isLoaded($TSconfigProp['overrideWithExtension'])) {
$onclick = "window.location.href='".t3lib_extMgm::extRelPath($TSconfigProp['overrideWithExtension']).'mod1/index.php?cmd=crPage&positionPid='.$pid."';";
return $onclick;
}
}
$params='&edit[pages]['.$pid.']=new&returnNewPageId=1';
return t3lib_BEfunc::editOnClick($params,$this->backPath,$this->R_URI);
}
(issue imported from #M8102)
Updated by Marcus Krause about 16 years ago
I don't think this is security related; so there's no need to make this issue a private one. I'll make it public this evening. Please communicate any objections until then, if you feel so!
Updated by Marcus Krause about 16 years ago
Issue not security related
-> setting "View status" to public
Updated by Rens Admiraal over 15 years ago
Marcus: reading this bug report myself I don't even have a clue what's going on, so I'm not sure there's still need to keep this open...
Updated by Marcus Krause over 15 years ago
Nice, but it was you who created it! ;-)
So do you want me to close this one?
Updated by Marcus Krause over 15 years ago
Reporter says he cannot reproduce this issue anymore.
Actions