Project

General

Profile

Actions

Bug #96923

closed

Epic #96323: TYPO3 Backend: ES6 Module (ESM) support

RteLinkBrowser broken since ES6 module usage

Added by Benjamin Franzke about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Category:
Backend JavaScript
Target version:
Start date:
2022-02-16
Due date:
% Done:

100%

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

Description

Since commit #96570 the RTE Link browser results in:

Uncaught ReferenceError: require is not defined
    at openElementBrowser (typo3link.js?t=LAHF-6bb790264ae6e66aef89b25824447d3d:116:5)
    at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.command.openLinkBrowser (typo3link.js?t=LAHF-6bb790264ae6e66aef89b25824447d3d:80:5)
    at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.command.exec (VM834 ckeditor.js:205:171)
    at a.execCommand (VM834 ckeditor.js:274:143)
    at CKEDITOR.ui.button.CKEDITOR.tools.extend.click (VM834 ckeditor.js:684:223)
    at Object.execute (VM834 ckeditor.js:685:332)
    at VM834 ckeditor.js:686:204
    at VM834 ckeditor.js:31:124
    at Object.callFunction (VM834 ckeditor.js:31:240)
    at HTMLAnchorElement.onclick (edit?token=75d2b86972db5753000324be4f8cfca9b541f781&edit[tt_content][21]=edit&returnUrl=%2Ftypo3%2Fempty%3Ftoken%3Daa91cd1ee120cb9978a50c78dd831a286a6de11d:1:16)

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #96570: Use ES6 JavaScriptModuleInstructions instead of RequireJS wrappers for core ES6 modulesClosedBenjamin Franzke2022-01-18

Actions
Actions #1

Updated by Benjamin Franzke about 2 years ago

  • Related to Task #96570: Use ES6 JavaScriptModuleInstructions instead of RequireJS wrappers for core ES6 modules added
Actions #2

Updated by Gerrit Code Review about 2 years ago

  • Status changed from New to Under Review

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

Actions #3

Updated by Gerrit Code Review about 2 years ago

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

Actions #4

Updated by Benjamin Franzke about 2 years ago

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

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF