[TYPO3-core] RFC #17114: Bug: Install Tool does not install extensions properly

François Suter fsu-lists at cobweb.ch
Wed Jan 19 22:02:44 CET 2011


Hi,

> Call to undefined method
> tx_coreupdates_installsysexts::logdeprecatedfunction() in
> /www/shared/TYPO3core/trunk/typo3/sysext/install/updates/class.tx_coreupdates_installsysexts.php
>
> So I changed that line to:
>
> 	t3lib_div::logDeprecatedFunction()

Sorry, copy & paste error.

> Tested it together with the wizard from #16926 and it worked.
>
> So +1 on reading and testing.

Thanks.

Now as I was looking to commit this, it occurred to me that there's 
another wizard installing extensions - namely "installNewSysexts" - 
which suffers from the same problem. So I propose to move the code to 
add extensions to Tx_Install_Updates_Base so that any wizard that wants 
to add an extension actually inherits from a clean method for doing so.

Attached v4 does this. Do you agree with that? It would be worth a new 
round of testing. It worked flawlessly for me with all three wizards 
that install extensions (outsourced sysexts, new sysexts and workspace 
migration).

I made the choice to encapsulate the creation of the connection to the 
EM in a specific method and not store that connection in a member 
variable, because it's not needed by many wizards so it wasn't worth 
using extra memory for this.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17114_v4.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110119/1f852021/attachment-0001.asc>


More information about the TYPO3-team-core mailing list