Project

General

Profile

Actions

Bug #34290

closed

FCE Link Icon JavaScriptError when field is empty

Added by Heinz Schilling over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-02-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When a element is defined as linkfield in backend a icon for linking is rendered. But if the field is empty, the icon doens't work and throw a javascript error.

When I filled in a value like 123 and save, then the icon works and the link window popup.

Fehler: missing ) after argument list
Quelldatei: http://www.domain.tld/typo3/alt_doc.php?returnUrl=%2Ftypo3conf%2Fext%2Ftemplavoila%2Fmod1%2Findex.php%3Fid%3D12747&edit[tt_content]90316=edit [^]
Zeile: 1, Spalte: 730
Quelltext:
this.blur();vHWin=window.open('browse_links.php?mode=wizard&P[params][blindLinkOptions]=mail&P[exampleImg]=&P[table]=tt_content&P[uid]=90316&P[pid]=12747&P[field]=tx_templavoila_flex&P[flexFormPath]=data/sDEF/lDEF/field_linksection/el/ID-2eadbaa04f-idx1329926826135-form/field_linkcontainer/el/field_link/vDEF&P[md5ID]=IDc0890b1335&P[returnUrl]=/typo3/alt_doc.php?&returnUrl=%2Ftypo3conf%2Fext%2Ftemplavoila%2Fmod1%2Findex.php%3Fid%3D12747&edit[tt_content]90316=edit&P[formName]=editform&P[itemName]=data[tt_content]90316[tx_templavoila_flex][data][sDEF][lDEF][field_linksection][el][ID-2eadbaa04f-idx1329926826135-form][field_linkcontainer][el][field_link][vDEF]_hr&P[fieldChangeFunc][typo3form.fieldGet]=typo3form.fieldGet('data[tt_content]90316[tx_templavoila_flex][data][sDEF][lDEF][field_linksection][el][ID-2eadbaa04f-idx1329926826135-form][field_linkcontainer][el][field_link][vDEF]','trim','',1,'');&P[fieldChangeFunc][TBE_EDITOR_fieldChanged]=TBE_EDITOR.fieldChanged('tt_content','90316','tx_templavoila_flex','data[tt_content]90316[tx_templavoila_flex]');&P[fieldChangeFunc][alert]=&P[fieldChangeFuncHash]=523e6c272a2fe256bdca10f4386af8cd094381e1'+'&P[currentValue]='+TBE_EDITOR.rawurlencode(document.editform['data[tt_content]90316[tx_templavoila_flex][data][sDEF][lDEF][field_linksection][el][ID-2eadbaa04f-idx1329926826135-form][field_linkcontainer][el][field_link][vDEF]_hr'].value,200)+'&P[currentSelectedValues]='+TBE_EDITOR.curSelected('data[tt_content]90316[tx_templavoila_flex][data][sDEF][lDEF][field_linksection][el][ID-2eadbaa04f-idx1329926826135-form][field_linkcontainer][el][field_link][vDEF]_hr_list'),'popUpIDc0890b1335','height=300,width=500,status=0,menubar=0,scrollbars=1');vHWin.focus();return false;

Reportet in http://bugs.typo3.org/view.php?id=18463
Comment from Tolleiv Nietsch:
Sorry TemplaVoila is not responsible for the flexform-rendering. This is done in the TYPO3 Core, please report this error in the TYPO3 Core bugtracker on forge.typo3.org

Actions #1

Updated by Heinz Schilling over 12 years ago

  • % Done changed from 0 to 100

The bug seems to be fixed between TYPO3 4.5.11 and 4.5.15. Please close this bug.

Actions #2

Updated by Stefan Galinski over 12 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF