Bug #42574

Updating introduction package fails

Added by Nicole Cordes over 7 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2012-10-31
Due date:
% Done:

100%

TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Updating the current introduction package fails due to hardcoded t3lib_div call in localconf.php. This class was removed and new name is \TYPO3\CMS\Core\Utility\GeneralUtility

$TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = t3lib_div::getIndpEnv('TYPO3_SITE_URL').'index.php?id=16';

We need to set class_alias in bootstrap where the GeneralUtility class gets loaded.

Associated revisions

Revision 50b7f65a (diff)
Added by Helmut Hummel over 7 years ago

[BUGFIX] class_alias in the bootstrap for legacy base classes

The legacy base classes t3lib_div and t3lib_extMgm used
to be available early in the bootstrap.

To enable the usage of the old class names a class alias
needs to be set up right after these classes are included.

Change-Id: I3cfa69d9bbca378015ee5ea3c13a6fac032fe9cc
Fixes: #42574
Resolves: #41122
Releases: 6.0
Reviewed-on: http://review.typo3.org/14776
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel

History

#1 Updated by Gerrit Code Review over 7 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16091

#2 Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14776

#3 Updated by Helmut Hummel over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#4 Updated by Riccardo De Contardi over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF