[TYPO3-dev]  typoLink() does not behave in 4.3 as it did in 4.2
    Xavier Perseguers 
    typo3 at perseguers.ch
       
    Thu Jul 16 20:42:35 CEST 2009
    
    
  
Hi,
In revision 5470, method callUserFunction (around line 6052 of 
class.tslib_content.php) was updated to remove a call to 
makeInstanceClassName.
in 4.2:
$parts = explode('->',$funcName);
if (count($parts)==2)	{	// Class
	$cls = t3lib_div::makeInstanceClassName($parts[0]);
		// Check whether class is available and try to reload includeLibs if 
possible:
	if ($this->isClassAvailable($cls, $conf)) {
		$classObj = new $cls;
in 4.3:
$parts = explode('->',$funcName);
if (count($parts)==2)	{	// Class
		// Check whether class is available and try to reload 	includeLibs if 
possible:
	if ($this->isClassAvailable($parts[0], $conf)) {
		$classObj = t3lib_div::makeInstance($parts[0]);
behavior changed as using for instance EXT:ml_links, this TS does not 
work anymore:
t_content.text.20.parseFunc.tags.link.typolink.userFunc = 
tx_mllinks_pi1->getFiletype
tt_content.text.20.parseFunc.tags.link.postUserFunc = tx_mllinks_pi1->main
link.typolink.userFunc does not work anymore (is not called at all, 
class tx_mllinks_pi1 not found) while the postUserFunc still works (code 
above not implicated).
Still investigating why this does not work anymore.
-- 
Xavier Perseguers
http://xavier.perseguers.ch/en
One contribution a day keeps the fork away
    
    
More information about the TYPO3-dev
mailing list