? ? ? ? Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
29 Aug 2019

When the ajax requests during installation are failing, we currently get no feedback about that in the UI. This PR adds some error handling for that. This is not perfect, but better than nothing and maybe someone can help make this better.

Testinstructions

  1. Modify /installation/src/Controller/InstallationController.php and add echo 'something'; at line 74 (This breaks the response and triggers the error)
  2. Go through the installation and fill everything, then click on Install Joomla
  3. See the loadinglayer show quickly and then disappear again and at the top of the page you get an error message.
avatar Hackwar Hackwar - open - 29 Aug 2019
avatar Hackwar Hackwar - change - 29 Aug 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 29 Aug 2019
Category Installation Language & Strings JavaScript
avatar Hackwar Hackwar - change - 29 Aug 2019
Labels Added: ? ?
avatar nadjak77 nadjak77 - test_item - 19 Oct 2019 - Tested successfully
avatar nadjak77
nadjak77 - comment - 19 Oct 2019

I have tested this item successfully on 725af51

Appled patch
changed /installation/src/Controller/InstallationController.php
installed joomla
-> error message appear
work as descriped


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26073.

avatar rmittl
rmittl - comment - 19 Oct 2019

Tested successfully
Error message appears.

avatar Quy Quy - change - 21 Oct 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 21 Oct 2019

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26073.

avatar Quy Quy - change - 23 Oct 2019
Labels Added: ?
avatar wilsonge
wilsonge - comment - 31 Oct 2019

Kinda unconvinced by blatting out the raw code from an end user perspective. Can we not just give that message without appending the text and console.error the raw response which would be enough for us to see it in system tests

avatar wilsonge
wilsonge - comment - 30 Nov 2019

I've pushed a modified version of this with the changes I requested above

avatar wilsonge wilsonge - change - 30 Nov 2019
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2019-11-30 22:10:10
Closed_By wilsonge
Labels Added: ?

Add a Comment

Login with GitHub to post a comment