georgringer / news

TYPO3 Extension news
GNU General Public License v2.0
265 stars 355 forks source link

Proxy Class Generation: extending contructor not working for tags #2272

Closed kitzberger closed 11 months ago

kitzberger commented 11 months ago

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?

georgringer commented 11 months ago

wanna add a PR with empty constructor + a comment that this is intentional?