Project

General

Profile

Actions

Bug #96937

closed

t3editor CodeCompletionController fails for integer based TypeScript keys

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

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Target version:
-
Start date:
2022-02-17
Due date:
% Done:

100%

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

Description

When walking through the treeMap, the controller fails for

typo3/sysext/fluid_styled_content/Configuration/TypoScript/ContentElement/Bullets.typoscript:
10 = TYPO3\CMS\Frontend\DataProcessing\SplitProcessor

as 10 will be parsed into int by the TemplateService.

(1/1) TypeError
substr(): Argument #1 ($string) must be of type string, int given

in /var/www/html/typo3/sysext/t3editor/Classes/Controller/CodeCompletionController.php line 94

Actions #1

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/+/73571

Actions #2

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/+/73571

Actions #3

Updated by Benjamin Franzke about 2 years ago

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

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF