Project

General

Profile

Actions

Bug #15979

closed

Javascript Error on Click Menu in Filelist

Added by Ben Sowter about 18 years ago. Updated about 17 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend User Interface
Target version:
-
Start date:
2006-04-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Repetitively getting a javascript error when trying to use the click menu in the file list - this means I can't delete uploaded files without going on to the server and doing it manually.

Error text...

Line: 143
Char: 6
Error: 'null' is null or not an object
Code: 0
URL: http://<server>/typo3/file_list.php?id=<file path>

OS: Windows
Server: Apache 2
(issue imported from #M3115)


Files

file_list.txt (34 KB) file_list.txt Administrator Admin, 2006-04-08 12:54
typo3_bug3115.gif (65.1 KB) typo3_bug3115.gif Administrator Admin, 2006-09-14 23:09
bug_3115_nows.diff (586 Bytes) bug_3115_nows.diff Administrator Admin, 2006-10-19 16:10

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #16013: In pages tree - popup menu not works in Russian (because of "Versioning" item)ClosedMichael Stucki2006-04-09

Actions
Actions #1

Updated by Karsten Dambekalns about 18 years ago

Wow, OS is WIndows. Now, what browser are you using?

It works for me with Firefox 1.5 on Linux btw...

Actions #2

Updated by Franz Holzinger about 18 years ago

What is the generated HTML source code of this page?

Actions #3

Updated by Ben Sowter about 18 years ago

Browser is Internet Exlorer 6.02. Incidentally I have just checked it in Fireworks on my setup and it does work fine there, so it definitely sounds like an IE specific bug.

Actions #4

Updated by Ingmar Schlecht about 18 years ago

I just tested it with IE 6.0.2900 and erverything worked just fine...

So maybe you could try with different setups (both server and client) and report which platforms it works on and which not.

For the moment, you might want to just disable the context menu in
User->Setup->"Disable Popup Context Menus"

This shows the options which are normally available in the context menu, in the small top frame.

cheers
Ingmar

Actions #5

Updated by Zach Davis almost 18 years ago

I can confirm that this bug exists. I was able to duplicated it on my machine as well. IE6 + windows.

To duplicated the bug, follow these steps:

1. Open filelist module in backend (logged in as admin, using IE6)
2. Notice that the click menu works in the center frame. Click on a folder that has files in it.
3. Clicking on the file icon in the right frame brings up a javascript error -- clickmenu doesn't appear.

What's strange is that if you click on a folder icon in the right frame (eg., when the contents of a folder is another folder), then it seems to work fine.

Zach

Actions #6

Updated by Juan Pablo over 17 years ago

yes, i have the same problem, i use ms explorer (6.0.2900.2180).
i have tested it in versions 4.0 and 4.0.1, now i'm downloading 4.0.2.
in mozilla (1.5.0.6) it works fine.
the server is linux, debian etch 2.6.15 amd64
(take a look at the screenshot attached in this issue)

UPDATE: the error is still present in 4.0.2

Actions #7

Updated by Willi Zinser over 17 years ago

I confirm this Problem:

SuSE Linux 9.1 Prof.
PHP 4.4.0

'./configure' '--prefix=/usr/local/typo3' '--enable-memory-limit' '--enable-mbstring' '--with-mysql' '--with-freetype-dir=/usr/local/typo3' '--with-zlib-dir=/usr/local/typo3' '--with-zlib=/usr/local/typo3' '--with-jpeg-dir=/usr/local/typo3' '--with-tiff-dir=/usr/local/typo3' '--with-gd=/usr/local/typo3' '--with-png-dir=/usr/local/typo3' '--with-ttf=/usr/local/typo3' '--enable-gd-native-ttf' '--with-gettext=/usr/local/typo3' '--with-pdflib=/usr/local/typo3' '--with-apxs2=/usr/local/typo3/bin/apxs'

Apache/2.0.54 (Unix) PHP/4.4.0

core mod_auth mod_log_config mod_env mod_setenvif prefork http_core mod_mime mod_status mod_autoindex mod_asis mod_negotiation mod_dir mod_imap mod_userdir mod_alias mod_so mod_access mod_include mod_cgi mod_actions mod_speling mod_rewrite sapi_apache2

MySQL 4.1.12

IE 6.0.2900 SP2

With Firefox there are no Problems
Update Typo3 3.8.0 -----> Typo3 4.0.1
With a fresh Installation of Typo4.0.1 also no Problem with IE

Actions #8

Updated by Michael Stucki over 17 years ago

Seems like the AJAX content is not utf8-encoded. XML must always be UTF-8! Attached is a patch that fixes this. Please test.

Actions #9

Updated by Willi Zinser over 17 years ago

Michael, your Patch fixed the Problem. Edit works now in Fileadmin on Updates Typo3 3.8.0 ---> Typo3 4.0.n in IE 6.0. Thanks a lot.

Please excuse the late Answer. I was down with influenza for some Days.

Actions #10

Updated by Michael Stucki over 17 years ago

Fixed in TYPO3 4.0.3

Actions

Also available in: Atom PDF