Issue Bug Closed

#90875Dependency check in Extension Manager is broken

Andreas Kienast 03/29/20, 08:02 updated 04/21/20, 12:16

Description

The extension manager isn’t anymore able to show the modal about conflicting dependencies upon installation of extensions from TER.

How to reproduce:
  1. Open Extension Manager
  2. Head to “Get extensions”
  3. Search for “news”
  4. Install EXT:news in an incompatible version (e.g. 7.3.1)

A modal should appear informing about unfulfillable dependency constraints with giving the possibility to ignore this (“I know what I’m doing”).
You’ll notice no visual dependency check appears. A flash message stating the extension has been installed appears, but in fact, the extension was downloaded only.

The response of the Extbase action DownloadController::installFromTerAction() returns null only. After stepping thru the execution via debug it’s revealed JsonView::render() expects all variables to be rendered to be defined via $view->setVariablesToRender() explicitly. Doing so doesn’t solve the issue as only variables passed via $view->assign() are accepted. Object keys being created on the fly are ignored (see Templates/Download/InstallFromTer.json).

Reviews 2