[TYPO3-english] wizard_add.php loading parent element after save+close.

Søren Malling soren.malling at gmail.com
Fri Sep 3 10:47:24 CEST 2010


Hi,

Using TYPO3 4.4 branch I have a issue with the wizard_add.php. When
clicking the save+close button the newly created element is saved, but
instead of closing the window, the parent element is loaded into the
popup window.

My wizard configuration looks like this

					'wizards' => array(
						'_PADDING' => 2,
						'_VERTICAL' => 1,
						'add' => Array(
							'type' => 'popup',
							'title' =>
'LLL:EXT:mediadatabase/locallang_tca.xml:tx_mediadatabase_domain_model_category.wizard.createCategory',
							'icon' => 'add.gif',
							'params' => Array(
								'table'=>'tx_mediadatabase_domain_model_category',
								'pid' => '###CURRENT_PID###',
								'setValue' => 'append'
							),
							'script' => 'wizard_add.php',
							'JSopenParams' => 'height=280,width=465,status=0,menubar=0,scrollbars=1',
						),
					),

and the url in the popup looks like this (in decoded format)

http://t344.local/typo3/alt_doc.php?returnUrl=/typo3/wizard_add.php?&P[params][table]=tx_mediadatabase_domain_model_category&P[params][pid]=%23%23%23CURRENT_PID%23%23%23&P[params][setValue]=append&P[params][returnUrl]=close.html&P[exampleImg]=&P[table]=tx_mediadatabase_domain_model_media&P[uid]=1&P[pid]=27&P[field]=categories&P[flexFormPath]=&P[md5ID]=IDd7fea53c3c&P[returnUrl]=%2Ftypo3%2Falt_doc.php%3F%26returnUrl%3Dsysext%252Flist%252Fmod1%252Fdb_list.php%253Fid%253D27%2526table%253D%2526imagemode%253D1%26edit%5Btx_mediadatabase_domain_model_media%5D%5B1%5D%3Dedit&P[formName]=editform&P[itemName]=data%5Btx_mediadatabase_domain_model_media%5D%5B1%5D%5Bcategories%5D&P[fieldChangeFunc][TBE_EDITOR_fieldChanged]=TBE_EDITOR.fieldChanged%28%27tx_mediadatabase_domain_model_media%27%2C%271%27%2C%27categories%27%2C%27data%5Btx_mediadatabase_domain_model_media%5D%5B1%5D%5Bcategories%5D%27%29%3B&P[fieldChangeFunc][alert]=&P[fieldChangeFuncHash]=0d88a4c8b088d294a7a64ee15aa019d88aeafd99&P[currentValue]=7%2C6%2C5%2C4%2C3%2C1%2C2&P[currentSelectedValues]=&returnEditConf=1&edit[tx_mediadatabase_domain_model_category][27]=new

Anyone who can confirm this issue or advice me in any way?!

Best regards

Søren Malling

Twitter: twitter.com/sorenmalling


More information about the TYPO3-english mailing list