[installation] Improve ajax error treatment#11930
Closed
andrepereiradasilva wants to merge 3 commits intojoomla:stagingfrom
Closed
[installation] Improve ajax error treatment#11930andrepereiradasilva wants to merge 3 commits intojoomla:stagingfrom
andrepereiradasilva wants to merge 3 commits intojoomla:stagingfrom
Conversation
Contributor
|
It's really hard to see scope of changes when you've changed whitespace formatting. |
Contributor
Author
|
That's why i said (the problem is this file didn't use tabs for indent as all other joomla files. i corrected that also)
|
Contributor
Author
|
closing because lack of interrest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
There are some parts of the installation process that don't check for ajax request issues (timeout, syntax error, server error codes, etc) leaving the user with no clue on what is wrong.
This PR corrects that and also improves the error messages by replacing javascript alert messages with joomla message errors.
Didn't change the ftp part because don't have way to test it
Testing Instructions
/installation/model/configuration.php. Try to install, you should get an error/installation/controller/site.phpto anything. Try to install, you should get an errorthrow new Exception('some error', 404);) here https://github.com/joomla/joomla-cms/blob/staging/installation/controller/site.php#L34 . Try to install, you should get an errorDocumentation Changes Required
None.