[BUGFIX] Use push parser instead of pull parser on fetching extension list 88/48188/2
authorOliver Hader <oliver@typo3.org>
Tue, 17 May 2016 10:15:49 +0000 (12:15 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 17 May 2016 11:54:46 +0000 (13:54 +0200)
Issue #75022 reported problems with libxml and operations on compressed
file streams. The work around for that patch showed drawbacks with memory
consumption. That's why the push parser is used as default now.

Resolves: #75721
Related: #75022
Releases: master, 7.6, 6.2
Change-Id: I6daadd4b375634cf45272bb249e4bfa083f03646
Reviewed-on: https://review.typo3.org/48188
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/extensionmanager/Classes/Utility/Parser/XmlParserFactory.php

index 42c6230..606f090 100644 (file)
@@ -38,12 +38,12 @@ class XmlParserFactory
      */
     protected static $parsers = array(
         'extension' => array(
+            \TYPO3\CMS\Extensionmanager\Utility\Parser\ExtensionXmlPushParser::class => 'ExtensionXmlPushParser.php',
             \TYPO3\CMS\Extensionmanager\Utility\Parser\ExtensionXmlPullParser::class => 'ExtensionXmlPullParser.php',
-            \TYPO3\CMS\Extensionmanager\Utility\Parser\ExtensionXmlPushParser::class => 'ExtensionXmlPushParser.php'
         ),
         'mirror' => array(
+            \TYPO3\CMS\Extensionmanager\Utility\Parser\MirrorXmlPushParser::class => 'MirrorXmlPushParser.php',
             \TYPO3\CMS\Extensionmanager\Utility\Parser\MirrorXmlPullParser::class=> 'MirrorXmlPullParser.php',
-            \TYPO3\CMS\Extensionmanager\Utility\Parser\MirrorXmlPushParser::class => 'MirrorXmlPushParser.php'
         )
     );