Bug #28565
closedBrowse Link Wizard opens in extension with "extern url" not with choosen selected page
0%
Description
Hi core Team,
there is a wrong parameter in the open window of the "Link Wizzard" url P[currentValue]==1367. It should been P[currentValue]=1367. Url example below. I used it in extension, to link a picture.
A part of the tca array is of this extension is:
...
"config" => Array (
"type" => "input",
"size" => "28",
"max" => "255",
"checkbox" => "",
"eval" => "trim",
"wizards" => Array(
"_PADDING" => 2,
"link" => Array(
"type" => "popup",
"title" => "Link",
"icon" => "link_popup.gif",
"script" => "browse_links.php?mode=wizard",
"JSopenParams" => "height=300,width=500,status=0,menubar=0,scrollbars=1"
)
)
)
I fixed it in class.t3lib_tceforms.php Typo3 Version 4.5.4 in row 4017
P[currentValue]= in P[currentValue].
Unknown multiple use of this function?
cheers
Michael
example url:
typo3/browse_links.php?mode=wizard&P[params]=&P[exampleImg]=&P[table]=tt_content&P[uid]=1382&P[pid]=810&P[field]=tx_input3&P[flexFormPath]=&P[md5ID]=IDb24cf04d82&P[returnUrl]=%2Ftypo3%2Falt_doc.php%3F%26returnUrl%3D%252Ftypo3conf%252Fext%252Ftemplavoila%252Fmod1%252Findex.php%253Fid%253D810%26edit%5Btt_content%5D%5B1382%5D%3Dedit&P[formName]=editform&P[itemName]=data%5Btt_content%5D%5B1382%5D%5Btx_input3%5D_hr&P[fieldChangeFunc][typo3form.fieldGet]=typo3form.fieldGet%28%27data%5Btt_content%5D%5B1382%5D%5Btx_input3%5D%27%2C%27trim%27%2C%27%27%2C1%2C%27%27%29%3B&P[fieldChangeFunc][TBE_EDITOR_fieldChanged]=TBE_EDITOR.fieldChanged%28%27tt_content%27%2C%271382%27%2C%27tx_input3%27%2C%27data%5Btt_content%5D%5B1382%5D%5Btx_input3%5D%27%29%3B&P[fieldChangeFunc][alert]=&P[fieldChangeFuncHash]=67dd58cc28388e0ef40f728cd3e12fee4f59f403&P[currentValue]==1367&P[currentSelectedValues]=