Project

General

Profile

Actions

Bug #28594

closed

The requested URL typo3/undefined was not found on this server

Added by Philipp Gampe over 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-07-30
Due date:
% Done:

100%

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

Description

After speedup backend with card layout. It work once, so something must have broken it later :(

Uncaught exception: TypeError: Cannot convert 'url' to object Error thrown at line 247, column 6 in <anonymous function: loadModuleComponents>(record, params) in http://localhost/t3-playground/dummy/typo3/js/modulemenu.js?1312033558: Ext.getCmp('typo3-card-'+record.name).setUrl(url + (params ? (url.indexOf('?') !== -1 ? '&' : '?') + params : '')); called from line 207, column 3 in <anonymous function: showModule>(mod, params) in http://localhost/t3-playground/dummy/typo3/js/modulemenu.js?1312033558: this.loadModuleComponents(record, params); called from line 130, column 6 in <anonymous function: click>(view, index, node, event) in http://localhost/t3-playground/dummy/typo3/js/modulemenu.js?1312033558: TYPO3.ModuleMenu.App.showModule(el.getAttribute('id')); called via Function.prototype.apply() from line 307, column 12 in <anonymous function: fire>() in http://localhost/t3-playground/dummy/typo3/contrib/extjs/ext-all-debug.js: var args = Array.prototype.slice.call(arguments, 0); called from line 54, column 16 in <anonymous function: fireEvent>() in http://localhost/t3-playground/dummy/typo3/contrib/extjs/ext-all-debug.js: ret = ce.fire.apply(ce, a); called via Function.prototype.apply() from line 29841, column 16 in <anonymous function: onClick>(e) in http://localhost/t3-playground/dummy/typo3/contrib/extjs/ext-all-debug.js: this.fireEvent("click", this, index, item, e); called from line 5197, column 12 in h(e) in http://localhost/t3-playground/dummy/typo3/contrib/extjs/ext-all-debug.js: fn.call(scope || el, e, t, o);

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #28590: Backport some changes for 4.6 to 4.5 as discussed before (related to Cardlayout)Rejected2011-07-30

Actions
Actions #1

Updated by Philipp Gampe over 13 years ago

This happend it you click the module item twice.

What should actually happen is, that it force reloads the content frame.

Actions #2

Updated by Kay Strobach over 13 years ago

which module throws the error? - which browser do you use?

can't reproduce this in chrome - but in firefox ... will take a look

Update chrome displays error 404 sometimes ...

Actions #3

Updated by Kay Strobach over 13 years ago

hello philipp,

there 2 possible solutions:

solution 1:

move

line 249: url = record.originalLink;

before line 245.
would force reload every time, when the module root is not opened

solution 2:

if (Ext.getCmp('typo3-contentContainerWrapper').layout.activeItem.id == 'typo3-card-' + record.name) {
                        Ext.getCmp('typo3-card-'+record.name).setUrl(url + (params ? (url.indexOf('?') !== -1 ? '&' : '?') + params : ''));
                    } else {
                        url = record.originalLink;
                        Ext.getCmp('typo3-card-'+record.name).setUrlIfChanged(url + (params ? (url.indexOf('?') !== -1 ? '&' : '?') + params : ''));
                    }

change to:

if (Ext.getCmp('typo3-contentContainerWrapper').layout.activeItem.id != 'typo3-card-' + record.name) {
                        url = record.originalLink;
                        Ext.getCmp('typo3-card-'+record.name).setUrlIfChanged(url + (params ? (url.indexOf('?') !== -1 ? '&' : '?') + params : ''));
                    }

This way the reload is just triggered by onclick, when the module is already open.

Actions #4

Updated by Mr. Hudson over 13 years ago

Patch set 1 of change I1692040e38645d68002ae494e9261fd0ccb4d42d has been pushed to the review server.
It is available at http://review.typo3.org/3909

Actions #5

Updated by Mr. Hudson over 13 years ago

Patch set 2 of change I1692040e38645d68002ae494e9261fd0ccb4d42d has been pushed to the review server.
It is available at http://review.typo3.org/3909

Actions #6

Updated by Chris topher over 13 years ago

Kay Strobach wrote:

which module throws the error? - which browser do you use?

I can reproduce in FF5 on WIndows XP. The error occurs in the BE Log module (haven't tested others).

Actions #7

Updated by Chris topher over 13 years ago

  • Status changed from New to Under Review
Actions #8

Updated by Kay Strobach over 13 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF