? ? Pending

User tests: Successful: Unsuccessful:

avatar GeraintEdwards
GeraintEdwards
3 Jun 2017

Pull Request for Issue #11869

Summary of Changes

Added Try/Catch around the call to JLog::add so that failed attempt to login doesn't throw unhelpful error screen but instead returns visitor to login page as they would if the log file was writeable.

Testing Instructions

Install patch
Login in the backend with incorrect password or missing password

Expected result

return to login page with message about failure to login

Actual result

Now it does this instead of the error page with message about failure to write to log file

Documentation Changes Required

none

avatar GeraintEdwards GeraintEdwards - open - 3 Jun 2017
avatar GeraintEdwards GeraintEdwards - change - 3 Jun 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jun 2017
Category Front End Plugins
avatar mbabker
mbabker - comment - 3 Jun 2017

This just needs the code style issues to be addressed (we use tabs instead of spaces), otherwise looks good to me. Thanks!

avatar GeraintEdwards GeraintEdwards - change - 3 Jun 2017
Labels Added: ?
avatar carcam
carcam - comment - 3 Jun 2017

I have tested this item successfully on 2053caa

Now Joomla! redirects to the backend login page and shows the errors in the messages area above the login form.


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

avatar carcam carcam - test_item - 3 Jun 2017 - Tested successfully
avatar brianteeman
brianteeman - comment - 4 Jun 2017

I have tested this item successfully on 2053caa


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

avatar brianteeman brianteeman - test_item - 4 Jun 2017 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Jun 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 4 Jun 2017

RTC after two successful tests.

avatar wilsonge wilsonge - change - 6 Jun 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-06-06 17:28:09
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 6 Jun 2017
avatar wilsonge wilsonge - merge - 6 Jun 2017

Add a Comment

Login with GitHub to post a comment