? Pending

User tests: Successful: Unsuccessful:

avatar n3t
n3t
21 Sep 2018

Summary of Changes

formatLine() function should return formatted text, not write it to file.

Testing Instructions

Open Joomla 3.9 beta 3 site, and try few times invalid login. Then go to your logs dir, and see the error.log.

Expected result

Every attempt should be on single line.

Actual result

Every attempt is followed by an empty line.

Apply the patch and try few invalid logins again, see the log again.

Side effects

As side effect this PR also makes new defer option really functional. As formatLine() function did not return the value, but writes it directly to file, the file was opened multiple times, not once as desired.

avatar n3t n3t - open - 21 Sep 2018
avatar n3t n3t - change - 21 Sep 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 21 Sep 2018
Category Libraries
avatar ReLater
ReLater - comment - 22 Sep 2018

I have tested this item successfully on 8b04d2e


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

avatar ReLater ReLater - test_item - 22 Sep 2018 - Tested successfully
avatar Quy
Quy - comment - 22 Sep 2018

I have tested this item successfully on 8b04d2e


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

avatar Quy Quy - test_item - 22 Sep 2018 - Tested successfully
avatar Quy Quy - change - 22 Sep 2018
Status Pending Ready to Commit
avatar Quy
Quy - comment - 22 Sep 2018

RTC


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

avatar mbabker mbabker - change - 22 Sep 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-09-22 15:18:05
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 22 Sep 2018
avatar mbabker mbabker - merge - 22 Sep 2018

Add a Comment

Login with GitHub to post a comment