Updating TYPO3 core fails
Using TYPO3 6.2 beta6, clicking the "Check for core updates" Button in the install tool is broken.
PHP Fatal error: Call to undefined method TYPO3\CMS\Install\View\JsonView::setTemplatePathAndFilename() in typo3/typo3_src/typo3/sysext/install/Classes/Controller/Action/AbstractAction.php on line 110
The JsonView extends the TYPO3\CMS\Extbase\Mvc\View\AbstractView which does not implement setTemplatePathAndFilename().
setTemplatePathAndFilename is only defined in the Fluid Views (TemplateView and StandaloneView)
[BUGFIX] Fix automatic core updater
AbstractCoreUpdate redefines the $view member to be
a JsonView, but does not re-implement the parent methods
that rely on $view being an AbstractView.
Fix this by re-implementing the initializeHandle() method.
This method can be merged with the former initializeCoreUpdate(),
which wasn't called at all in most actions.
Reviewed-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Markus Klein
Tested-by: Markus Klein