? Success

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
7 Jul 2015

This is used in various parts of the Database importer classes (e.g. https://github.com/wilsonge/joomla-cms/blob/logging/libraries/joomla/database/importer.php#L217) but isn't actually defined. This just adds the method and proxies it to JLog

Note this class is not used in the CMS and so probably needs a code review

avatar wilsonge wilsonge - open - 7 Jul 2015
avatar wilsonge wilsonge - change - 7 Jul 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Jul 2015
Labels Added: ?
avatar wilsonge wilsonge - change - 7 Jul 2015
The description was changed
avatar zero-24 zero-24 - change - 8 Jul 2015
Milestone Added:
avatar zero-24 zero-24 - change - 8 Jul 2015
Category Libraries
avatar Bakual
Bakual - comment - 8 Jul 2015

I wonder if it is even needed. I learned recently that the driver itself already logs failed database queries. Maybe we can just remove the calls to addLog instead.

avatar wilsonge
wilsonge - comment - 8 Jul 2015

As we are logging them in a separate category now quite possibly...

I'll await a decision from leadership on how to proceed :P

avatar rdeutz
rdeutz - comment - 8 Jul 2015

If it is logged somewhere then I would remove the call

avatar wilsonge
wilsonge - comment - 8 Jul 2015

Removed

avatar Bakual
Bakual - comment - 8 Jul 2015

:+1:

avatar wilsonge wilsonge - change - 8 Jul 2015
Title
Add missing addLog function
Remove addLog function that doesn't exist
avatar wilsonge
wilsonge - comment - 8 Jul 2015

Is this mergable?

avatar Bakual
Bakual - comment - 9 Jul 2015

Yes

avatar wilsonge wilsonge - close - 9 Jul 2015
avatar wilsonge wilsonge - change - 9 Jul 2015
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-07-09 06:22:52
Closed_By wilsonge
avatar wilsonge wilsonge - close - 9 Jul 2015
avatar wilsonge wilsonge - head_ref_deleted - 9 Jul 2015

Add a Comment

Login with GitHub to post a comment