Project

General

Profile

Actions

Bug #24298

closed

JS error in Opera11 when inserting files/links in BE using the element browser

Added by David Jatzke almost 14 years ago. Updated over 11 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-12-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When trying to add files or links using the BE element browser in Opera11(Build 1111) a JS errors comes up, thereby preventing the user from adding elements to a content element:

Uncaught exception: TypeError: Cannot convert 'fObj.options[len]' to object

Error thrown at line 49, column 6 in setFormValueFromBrowseWin(fName, value, label, exclusiveValues) in http://www.domain.tld/typo3/alt_doc.php?returnUrl=%2Ftypo3%2Fsysext%2Fcms%2Flayout%2Fdb_layout.php%3Fid%3D130&edit[tt_content][247,]=edit:
fObj.options[len].value = value;
called from line 93, column 2 in addElement(elName, elValue, altElValue, close) in http://www.domain.tld/typo3/browse_links.php?mode=file&bparams=data%5Btt_content%5D%5B247%5D%5Bimage%5D%7C%7C%7Cgif%2Cjpg%2Cjpeg%2Ctif%2Ctiff%2Cbmp%2Cpcx%2Ctga%2Cpng%2Cpdf%2Cai%7C:
parent.window.opener.setFormValueFromBrowseWin("data[tt_content]247[image]",altElValue?altElValue:elValue,elName);
called from line 86, column 2 in insertElement(table, uid, type, filename, fp, filetype, imagefile, action, close) in http://www.domain.tld/typo3/browse_links.php?mode=file&bparams=data%5Btt_content%5D%5B247%5D%5Bimage%5D%7C%7C%7Cgif%2Cjpg%2Cjpeg%2Ctif%2Ctiff%2Cbmp%2Cpcx%2Ctga%2Cpng%2Cpdf%2Cai%7C:
addElement(filename,table+"_"+uid,fp,close);
called from line 1, column 0 in <anonymous function>(event):
return insertElement('', 'f0945f1957', 'file', 'advert468x60.png', '/home/www/user/html/typo3/fileadmin/images/test/advert468x60.png', 'png', '../typo3conf/ext/dam/i/18/mtype_image.gif', '', 1);

(issue imported from #M16686)

Actions

Also available in: Atom PDF