[TYPO3-mvc] cleaning up my extension, removing core hacks

Markus Klein klein.t3 at mfc-linz.at
Wed Dec 18 10:39:12 CET 2013


Philipp,

what are the bugs which force you to change Core code?
Did your report them?

Kind regards
Markus

------------------------------------------------------------
Markus Klein
TYPO3 CMS Active Contributors Team Member

> -----Original Message-----
> From: typo3-project-typo3v4mvc-bounces at lists.typo3.org [mailto:typo3-
> project-typo3v4mvc-bounces at lists.typo3.org] On Behalf Of Philipp
> Sent: Wednesday, December 18, 2013 8:59 AM
> To: typo3-project-typo3v4mvc at lists.typo3.org
> Subject: [TYPO3-mvc] cleaning up my extension, removing core hacks
> 
> Hey
> 
> When writing my extension regional_object i had to modify the core a few
> times (didnt have trime for a nicer solution). Now i want to fix that.
> 
> First File i had to modify was:
> \TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbBackend
> 
> thought about solving that writing my own StorageDriver (extending the
> bugged extbase class), overriding 2 methods needed to make everything
> work and link that via:
> 
> config.tx_extbase.objects.TYPO3\CMS\Extbase\Persistence\Generic\Storag
> e\BackendInterface.className = Vendor\Extension\....
> 
> Found that here and thought its a nice solution.
> 
> Second File i had to hack was fixed in 6.1 Update
> 
> Third File i had to modify is:
> \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormFieldViewHelper
> 
> Now i think of 2 ways to include my hack:
> 1) Doing the same think (but i dont think that will work, i think i have to
> override the autoloadersetting here
> 2) putting
> 
> \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormFieldViewHelper =>
> 'Vendor/Extension/Classes/ViewHelpers/Form/AbstractFormFieldViewHelp
> er.php'
> 
> in my ext_autoload.php
> 
> Do you have any suggestions for me here?
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc



More information about the TYPO3-project-typo3v4mvc mailing list