Current Behavior
When extending a model class and using a __construct() method in the own class is only working when that method exists in original class, e.g. Tag.
There's no real exception thrown though.
Expected behavior/output
Constructor can be set in own model class.
Environment
TYPO3 version(s): 11
news version: 11
Is your TYPO3 installation set up with Composer (Composer Mode): yes
OS: linux
Possible Solution
Maybe add an empty constructor to all model classes?
Bug Report
Current Behavior When extending a model class and using a
__construct()
method in the own class is only working when that method exists in original class, e.g.Tag
.There's no real exception thrown though.
Expected behavior/output Constructor can be set in own model class.
Environment
Possible Solution Maybe add an empty constructor to all model classes?