Project

General

Profile

Actions

Bug #98273

closed

Undefined array key "titleText" in RTE Link browser

Added by Andreas Kienast about 2 years ago. Updated about 2 years ago.

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

100%

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

Description

If titleText is used in the RTE configuration, but not for all items in classesAnchor, a PHP 8 warning arises:

PHP Warning: Undefined array key "titleText" in /var/www/html/typo3_src/typo3/sysext/rte_ckeditor/Classes/Controller/BrowseLinksController.php line 164

Example config

classesAnchor:
    page:
        class: 'link-page'
        type: 'page'
        titleText: 'This is a linked page'
    folder:
        class: 'link-folder'
        type: 'folder'
    file:
        class: 'link-file'
        type: 'file'
    external:
        class: 'link-external'
        type: 'url'
        titleText: 'lul'
    mail:
        class: 'link-mail'
        type: 'mail'
Actions #1

Updated by Gerrit Code Review about 2 years ago

  • Status changed from In Progress 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/+/75628

Actions #2

Updated by Andreas Kienast about 2 years ago

  • Description updated (diff)
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/+/75628

Actions #4

Updated by Gerrit Code Review about 2 years ago

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

Actions #5

Updated by Andreas Fernandez about 2 years ago

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

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF