Project

General

Profile

Actions

Bug #30771

closed

Fix not working backend.php?edit=pid

Added by Kay Strobach over 12 years ago. Updated about 10 years ago.

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

0%

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

Description

Example: Using the direct page edit feature (backend.php?edit=xxx) the BE responds with "Module loader
No module found. If this is a temporary error, please reload the Backend!" error. I found that the ajax loading of modules in modulemenu.js took almost 1 second on this particular installation and therefore showModule was called before the modules had finished loading.

I introduced the following hack in showModule after which the BE successfully could load the page edit module:

showModule: function(mod, params) {
if(TYPO3.ModuleMenu.Store.getCount() == 0){
setTimeout("top.TYPO3.ModuleMenu.App.showModule('"+mod+"', '"+params+"')", 1000);
return;
}

A better approach would probably be to make the modulemenu block until it had completed it's initialization.


Related issues 2 (0 open2 closed)

Follows TYPO3 Core - Bug #28951: modulemenu.js: Showmodule can be called before Store is loadedClosedOliver Hader2011-08-12

Actions
Precedes TYPO3 Core - Bug #30773: select correct page in pagetree if using ?edit=pid in backendClosed2011-10-122011-10-12

Actions
Actions

Also available in: Atom PDF