? ? Pending

User tests: Successful: Unsuccessful:

avatar alikon
alikon
4 Mar 2019

Pull Request for Issue #24071 .

Summary of Changes

fix checkLoggable for com_checkin

Testing Instructions

Uncheck the form com_actionlogs Options com_checkin from Events To Log

Expected result

check-in actions are not logged

Actual result

check-in actions are logged

avatar alikon alikon - open - 4 Mar 2019
avatar alikon alikon - change - 4 Mar 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 4 Mar 2019
Category Front End Plugins
avatar alikon alikon - change - 4 Mar 2019
Title
[com_actionlogs]
[com_actionlogs] - fix checkLoggable for com_checkin
avatar alikon alikon - edited - 4 Mar 2019
avatar Quy Quy - test_item - 4 Mar 2019 - Tested successfully
avatar Quy
Quy - comment - 4 Mar 2019

I have tested this item successfully on 8e68899


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

avatar twister65
twister65 - comment - 10 Mar 2019

I have tested this item successfully on 8e68899


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

avatar twister65 twister65 - test_item - 10 Mar 2019 - Tested successfully
avatar Quy Quy - change - 10 Mar 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 10 Mar 2019

RTC


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

avatar HLeithner
HLeithner - comment - 10 Mar 2019

Why is only com_checkin valid for checking logging?

avatar twister65
twister65 - comment - 10 Mar 2019

I think, because after onAfterCheckin event.

avatar HLeithner
HLeithner - comment - 11 Mar 2019

Can only com_checking trigger this event or checkin items? Or is this only for the global checkin?

avatar brianteeman
brianteeman - comment - 11 Mar 2019

I "think" the real problem to resolve is that we only want to record in the action logs when someone actively does a checkin - either from the component or by pressing the checkin button in the toolbar.

However what current actionlog does is record every time something is checked in - and that will happen automatically every time you save an item etc and we don't want to log that.

avatar alikon
alikon - comment - 11 Mar 2019

with #23526 every table can trigger the onAfterCheckin event see https://github.com/joomla/joomla-cms/blob/staging/libraries/src/Table/Table.php#L1149 this pr fix that till, now everytime a checkin event occurs it is always logged unrespectful for what you have setted on the Events To Log

avatar alikon alikon - change - 11 Mar 2019
Labels Added: ?
avatar HLeithner
HLeithner - comment - 11 Mar 2019

So this should go into 3.9.4?

avatar alikon
alikon - comment - 11 Mar 2019

from my personal POV yes, cause is a fix for a bug, but the final decision it's up to the mantainers ...
oops ... are you ?

avatar HLeithner HLeithner - change - 11 Mar 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-03-11 10:41:25
Closed_By HLeithner
Labels Added: ?
avatar HLeithner HLeithner - close - 11 Mar 2019
avatar HLeithner HLeithner - merge - 11 Mar 2019
avatar HLeithner
HLeithner - comment - 11 Mar 2019

thx

Add a Comment

Login with GitHub to post a comment