Project

General

Profile

Actions

Bug #71618

closed

Extension manager does not work properly due to JS error

Added by Markus Klein over 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extension Manager
Start date:
2015-11-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
hard
Is Regression:
Yes
Sprint Focus:

Description

Due to noconflict-mode enabled for jQuery, the jquery plugins (validate, expander, loadmask) fail to find the jQuery object.
This subsequently causes the initialization code in EM's Main.js file to fail ultimately killing any functionality initialized after those plugin usages, for instance, "update now" button for TER extlist refresh.

In general we face a shortcomming of our API, which offers no way to add jquery plugins before the call to noConflict.

A possible solution would be to load jquery without the noconflict-mode in EM. This would currently only be possible if the call in ModuleTemplate.php is changed to

$this->pageRenderer->loadJquery(null, null, PageRenderer::JQUERY_NAMESPACE_NONE);

AND the additional loadJQuery="true" attribute of the <f:be.pageRenderer> VH in the main layout of EM is rmeoved (otherwise jquery would be loaded twice).

Another solution would be to extend the API to allow to register jQuery-Plugins, which are then added right after the jQuery script tag, but before the call to noConflict(true).

Actions #1

Updated by Gerrit Code Review over 8 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44746

Actions #2

Updated by Gerrit Code Review over 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44746

Actions #3

Updated by Gerrit Code Review over 8 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44746

Actions #4

Updated by Gerrit Code Review over 8 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44746

Actions #5

Updated by Nicole Cordes over 8 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF