Bug #28951
closedmodulemenu.js: Showmodule can be called before Store is loaded
100%
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.
Updated by Susanne Moog over 13 years ago
- Status changed from New to Accepted
- Target version set to 4.6.0-beta2
- Complexity set to medium
Updated by Xavier Perseguers over 13 years ago
- Target version changed from 4.6.0-beta2 to 4.6.0-beta3
Updated by Oliver Hader about 13 years ago
- Target version changed from 4.6.0-beta3 to 4.6.0-RC1
Updated by Mr. Hudson about 13 years ago
Patch set 1 of change Ia7c39fc94e75ef003a7a839856ea78cbd0854a66 has been pushed to the review server.
It is available at http://review.typo3.org/5681
Updated by Xavier Perseguers about 13 years ago
- Status changed from Accepted to Under Review
Updated by Mr. Hudson about 13 years ago
Patch set 2 of change Ia7c39fc94e75ef003a7a839856ea78cbd0854a66 has been pushed to the review server.
It is available at http://review.typo3.org/5681
Updated by Mr. Hudson about 13 years ago
Patch set 3 of change Ia7c39fc94e75ef003a7a839856ea78cbd0854a66 has been pushed to the review server.
It is available at http://review.typo3.org/5681
Updated by Mr. Hudson about 13 years ago
Patch set 4 of change Ia7c39fc94e75ef003a7a839856ea78cbd0854a66 has been pushed to the review server.
It is available at http://review.typo3.org/5681
Updated by Mr. Hudson about 13 years ago
Patch set 1 of change I555427d61845678c1f90e2039c41cdd2055e5b6a has been pushed to the review server.
It is available at http://review.typo3.org/5712
Updated by Xavier Perseguers about 13 years ago
- Status changed from Under Review to Resolved
- Assignee set to Oliver Hader
- % Done changed from 0 to 100
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed