Bug #66696

classAliasMap missing after extension installation

Added by Nicole Cordes over 5 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Extension Manager
Target version:
Start date:
2015-04-30
Due date:
% Done:

100%

TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

After installation of an extension the cache (at least system cache) is cleared. This clears the classAliasMap caches as well (those are stored in cache_classes). So any class alias which is used by the current installed extension and added in another dependency causes a fatal error.

This was tested with the introduction package ("old realurl) and realurl 1.12.8. The bootstrap_package adds the class alias for t3lib_div which can't be found after realurl was uninstalled and installed again.


Related issues

Related to TYPO3 Core - Bug #66838: ExtensionManager loads ext_autoload.php to late Closed 2015-05-07

Associated revisions

Revision fcec4ef2 (diff)
Added by Nicole Cordes over 5 years ago

[BUGFIX] Reload classAliasMap after extension installation

If an extension is installed at least the system cache is cleared
which throws away all defined class aliases as well. Those are only
loaded by bootstrap at the very beginning of an request and need to
be reloaded by the install process manually. This patch adds the
necessary call to ClassLoader.

Releases: master, 6.2
Resolves: #66696
Related: #65141
Change-Id: I4ace91789c43855acba91ac356b2263171cc921a
Reviewed-on: http://review.typo3.org/39112
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>
Reviewed-by: Christian Kuhn <>
Reviewed-by: Andreas Fernandez <>
Reviewed-by: Markus Klein <>
Reviewed-by: Helmut Hummel <>
Tested-by: Helmut Hummel <>

Revision fdabc842 (diff)
Added by Nicole Cordes over 5 years ago

[FOLLOWUP] Reload classAliasMap after extension installation

Fix unit tests.

Releases: master, 6.2
Resolves: #66696
Related: #65141
Change-Id: Iab641bb9e64280bfd81d0c1ca43b78ee0a188b40
Reviewed-on: http://review.typo3.org/39221
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Helmut Hummel <>
Tested-by: Helmut Hummel <>

Revision a2fe59ff (diff)
Added by Nicole Cordes over 5 years ago

[BUGFIX] Reload classAliasMap after extension installation

If an extension is installed at least the system cache is cleared
which throws away all defined class aliases as well. Those are only
loaded by bootstrap at the very beginning of an request and need to
be reloaded by the install process manually. This patch adds the
necessary call to ClassLoader.

Releases: master, 6.2
Resolves: #66696
Related: #65141
Change-Id: I4ace91789c43855acba91ac356b2263171cc921a
Reviewed-on: http://review.typo3.org/39217
Reviewed-by: Nicole Cordes <>
Tested-by: Nicole Cordes <>
Reviewed-by: Helmut Hummel <>
Tested-by: Helmut Hummel <>

History

#1 Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39112

#2 Updated by Gerrit Code Review over 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39112

#3 Updated by Gerrit Code Review over 5 years ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39217

#4 Updated by Gerrit Code Review over 5 years ago

Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39217

#5 Updated by Nicole Cordes over 5 years ago

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

#6 Updated by Gerrit Code Review over 5 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39221

#7 Updated by Gerrit Code Review over 5 years ago

Patch set 3 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39217

#8 Updated by Nicole Cordes over 5 years ago

  • Status changed from Under Review to Resolved

#9 Updated by Anja Leichsenring almost 5 years ago

  • Sprint Focus deleted (On Location Sprint)

#10 Updated by Riccardo De Contardi about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF