Project

General

Profile

Actions

Feature #18610

closed

$back_path is not passed to t3lib_BEfunc::editOnClick from t3lib_positionmap

Added by Rens Admiraal over 16 years ago. Updated over 15 years ago.

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)
Actions #1

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!

Actions #2

Updated by Marcus Krause about 16 years ago

Issue not security related
-> setting "View status" to public

Actions #3

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...

Actions #4

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?

Actions #5

Updated by Rens Admiraal over 15 years ago

yeah, sounds good :p

Actions #6

Updated by Marcus Krause over 15 years ago

Reporter says he cannot reproduce this issue anymore.

Actions

Also available in: Atom PDF