? Pending

User tests: Successful: Unsuccessful:

avatar HLeithner
HLeithner
13 May 2018

Installer is unable to display the preinstall view. There are 2 reasons for this.

First the DefaultView can't load the correct Model because it is not defined.
Second the search path for the form preinstall.xml is wrong.

Summary of Changes

Set default model to 'checks' in Preinstall/HtmlView.php
Change AddFormPath to JPATH_COMPONENT.'/forms' (removed the subfolder 'model') in ChecksModel
This is also done for LanguagesModel

Testing Instructions

Try to install J4 without fulfill all dependencies, for example non writeable configuration.php

Expected result

Get the preinstall view that informs you whats wrong.

Actual result

Something like

An error has occurred while processing your request.
0 Call to a member function getLabel() on boolean

Documentation Changes Required

No

avatar HLeithner HLeithner - open - 13 May 2018
avatar HLeithner HLeithner - change - 13 May 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 May 2018
Category Installation
avatar wilsonge wilsonge - change - 14 May 2018
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-05-14 11:29:08
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 14 May 2018
avatar wilsonge wilsonge - merge - 14 May 2018

Add a Comment

Login with GitHub to post a comment