? NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar Fedik
Fedik
8 Oct 2020

Pull Request for Issue #30898 #27786 and there some others .

Summary of Changes

Show a warning to user if ajax login got incorrect JSON response

Testing Instructions

run npm install and follow one of #30898 #27786

Actual result BEFORE applying this Pull Request

Nothing happen

Expected result AFTER applying this Pull Request

Display a message about what is going on.

Documentation Changes Required

none

avatar Fedik Fedik - open - 8 Oct 2020
avatar Fedik Fedik - change - 8 Oct 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Oct 2020
Category Modules Administration JavaScript Repository NPM Change
avatar Fedik
Fedik - comment - 8 Oct 2020

Please someone, tell me a better message, I will update.

avatar Fedik Fedik - change - 8 Oct 2020
Labels Added: NPM Resource Changed ?
e02f9d6 8 Oct 2020 avatar Fedik msg
avatar richard67
richard67 - comment - 8 Oct 2020

Couldn't language strings be used for the messages so they can be translated?

avatar wilsonge
wilsonge - comment - 8 Oct 2020

Server response is corrupted probably should be a language string agreed. I don't mind if the element is missing javascript error is in english only as that's more a developer error.

avatar joomla-cms-bot joomla-cms-bot - change - 9 Oct 2020
Category Modules Administration JavaScript Repository NPM Change Administration Language & Strings Modules Templates (admin) JavaScript Repository NPM Change
avatar Fedik
Fedik - comment - 9 Oct 2020

okau, I made it translatable,
also I have added "form reset" if user enter wrong name/password

avatar fancyFranci fancyFranci - test_item - 17 Oct 2020 - Tested successfully
avatar fancyFranci
fancyFranci - comment - 17 Oct 2020

I have tested this item successfully on 3d31330

The message appears with the patch.


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

avatar PhilETaylor
PhilETaylor - comment - 18 Oct 2020

MOD_LOGIN_AJAX_RESPONSE_CORRUPTED="Server response is corrupted, please try to reload the page."

I doubt highly that reloading the page is going to resolve the issue encountered and therefore this message is unhelpful. Suggest something like "Server response was not in the correct format, please try again and contact the site admin if this problem persists"

avatar Fedik Fedik - change - 18 Oct 2020
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2020-10-18 10:13:10
Closed_By Fedik
Labels Added: ?
avatar Fedik Fedik - close - 18 Oct 2020

Add a Comment

Login with GitHub to post a comment