? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
24 May 2021

Summary of Changes

Clean up a TODO left in the installation process on the task of deleting the /installation folder.

Note that there is no point enqueuing a message, because when you destroy a session, you destroy that messageQueue !

Testing Instructions

Install Joomla 4 taking notice of the ajax response when deleting the installation folder on the last step

Actual result BEFORE applying this Pull Request

A full HTML page is returned from the delete installation folder ajax

Expected result AFTER applying this Pull Request

A simple JSON page is returned from the delete installation folder ajax

Documentation Changes Required

none

avatar PhilETaylor PhilETaylor - open - 24 May 2021
avatar PhilETaylor PhilETaylor - change - 24 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 May 2021
Category Installation
avatar PhilETaylor PhilETaylor - change - 24 May 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 24 May 2021
avatar PhilETaylor PhilETaylor - change - 25 May 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 25 May 2021
Category Installation Installation JavaScript
avatar PhilETaylor
PhilETaylor - comment - 25 May 2021

Now if the folder fails to delete you get a nice JS message, and you can retry as many times as you like by pressing the red button.

Screenshot 2021-05-25 at 13 58 34

And if it succeeds then you get the normal hiding of the red button and dev mode message

Screenshot 2021-05-25 at 14 01 47

avatar wilsonge
wilsonge - comment - 25 May 2021

Looks great - trying to figure out if we should be checking the error property or if this is one of these things that's good enough for now given the rarity that this will fail in the first place.

avatar PhilETaylor
PhilETaylor - comment - 25 May 2021

Looks great - trying to figure out if we should be checking the error property or if this is one of these things that's good enough for now given the rarity that this will fail in the first place.

Added this now.

avatar wilsonge wilsonge - close - 28 May 2021
avatar wilsonge wilsonge - merge - 28 May 2021
avatar wilsonge wilsonge - change - 28 May 2021
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-05-28 12:48:44
Closed_By wilsonge
avatar wilsonge
wilsonge - comment - 28 May 2021

Thanks!

Add a Comment

Login with GitHub to post a comment