lochmueller / focuspoint

🌅 Smartest TYPO3 Crop Tool ever 🌅
http://typo3.org/extensions/repository/view/focuspoint
22 stars 23 forks source link

Test Plugin not working #99

Closed cundd closed 1 year ago

cundd commented 1 year ago

Inserting the test plugin results in the following error on the frontend:

TYPO3: v12.4.3
focuspoint: 6.0.1
[Semantical Error] The annotation "@TYPO3\CMS\Extbase\Annotation\Inject" in property HDNET\Focuspoint\Controller\TestController::$fileRepository was never imported. Did you maybe forget to add a "use" statement for this annotation?
cundd commented 1 year ago

And more problems coming in.

TYPO3\CMS\Extbase\SignalSlot\Dispatcher isn't available anymore in TYPO3 v12 (https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/10.4/Deprecation-90625-ExtbaseSignalSlotDispatcher.html)

cundd commented 1 year ago

But to be honest: I don't care that much about the test plugin.

lochmueller commented 1 year ago

Hey @cundd , I fixed the SignalSlot problem and introduce two events for this functions. Also switch from Inject to construct DI. Regards, Tim