Project

General

Profile

Actions

Bug #102498

closed

`enum` type is not autoloaded

Added by Bill Dagou 5 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-11-24
Due date:
% Done:

100%

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

Description

The enum type in PHP8 is not autoload in TYPO3.

Actions #1

Updated by Bill Dagou 5 months ago

It dues to ClassMapGenerator::findClasses() in core/Resources/PHP/ClassMapGenerator.php, which only looks for class, interface, and trait.

Actions #2

Updated by Bill Dagou 5 months ago

And my easy fix was changing class|interface|trait to class|enum|interface|trait in this file, 2 places.

Actions #3

Updated by Gerrit Code Review 5 months 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/+/82034

Actions #4

Updated by Gerrit Code Review 5 months 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/+/82034

Actions #5

Updated by Gerrit Code Review 5 months ago

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

Actions #6

Updated by Garvin Hicking 5 months ago

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

Also available in: Atom PDF