? ? Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
13 May 2022

Summary of Changes

Converts the joomla action log plugin to services.

The action log component changes from #37592 are included here too, otherwise we will have a conflict after merge.

@nikosdion you may want to have a look here too.

Testing Instructions

  • Enable the joomla action log plugin
  • Save an article
  • Go to /administrator/index.php?option=com_actionlogs&view=actionlogs

Actual result BEFORE applying this Pull Request

Action log entry is written for an article create action.

Expected result AFTER applying this Pull Request

Action log entry is written for an article create action.

avatar laoneo laoneo - open - 13 May 2022
avatar laoneo laoneo - change - 13 May 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 May 2022
Category Administration Front End Plugins Unit Tests
avatar richard67
richard67 - comment - 13 May 2022
avatar toivo
toivo - comment - 14 May 2022

I have tested this item successfully on 02b0b6e

Tested successfully in Joomla 4.2.0-alpha3-dev of 13 May.


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

avatar toivo toivo - test_item - 14 May 2022 - Tested successfully
avatar laoneo laoneo - change - 14 May 2022
Labels Added: ? ?
a4aee09 14 May 2022 avatar laoneo cs
8c6937a 14 May 2022 avatar laoneo doc
avatar joomla-cms-bot joomla-cms-bot - change - 15 May 2022
Category Administration Front End Plugins Unit Tests Front End Plugins
35acc88 15 May 2022 avatar laoneo cs
avatar laoneo laoneo - change - 15 May 2022
Labels Removed: ?
495be7e 16 May 2022 avatar laoneo doc
avatar nikosdion
nikosdion - comment - 16 May 2022

Sorry for the very long delay, I am refactoring Joomla's Two Factor Authentication.

Overall it works fine for me, I juts have one question. Since we are going into the trouble of converting the plugin, shouldn't we also convert it to use SubscriberInterface?

At some point in the future #36578 will be merged in the core. Having the plugin use SubscriberInterface would make quick work of converting it once the concrete events classes are written (phase 2 of the work on that PR). It could even serve as a proof of the concept in the core.

Totally optional, just thinking out loud.

avatar laoneo
laoneo - comment - 16 May 2022

I guess when #36578 got merged, then we can use the SubscriberInterface. Till then we have to use the legacy subscribing way. But SubscriberInterface is definitely the way to go.

avatar laoneo
laoneo - comment - 17 May 2022

For now I would like to leave it with the current events to not break anything.

avatar toivo toivo - test_item - 22 May 2022 - Tested successfully
avatar toivo
toivo - comment - 22 May 2022

I have tested this item successfully on 96dead5

Tested successfully in Joomla 4.2.0-alpha3-dev of 22 May in Wampserver 3.2.8 with PHP 8.0.15


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

a97b0f9 30 May 2022 avatar laoneo cs
avatar sandewt
sandewt - comment - 30 May 2022

<?xml version="1.0" encoding="UTF-8"?>

Suggestion, lower case: encoding="utf-8"

(I don't know if this is related to this issue ?)

avatar laoneo
laoneo - comment - 30 May 2022

To which issue?

avatar sandewt
sandewt - comment - 30 May 2022

To which issue?

I mean, change here too.

avatar heelc29 heelc29 - test_item - 30 May 2022 - Tested successfully
avatar heelc29
heelc29 - comment - 30 May 2022

I have tested this item successfully on a878b87


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

avatar laoneo
laoneo - comment - 30 May 2022

@sandewt changed it. Can you give this plugin also a test?

avatar sandewt
sandewt - comment - 30 May 2022

Can you give this plugin also a test?

I'm going to do it, but see my comment what I came across during testing.

avatar alikon alikon - test_item - 30 May 2022 - Tested successfully
avatar alikon
alikon - comment - 30 May 2022

I have tested this item successfully on a878b87


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

avatar alikon alikon - change - 30 May 2022
Status Pending Ready to Commit
avatar alikon
alikon - comment - 30 May 2022

RTC


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

avatar sandewt sandewt - test_item - 30 May 2022 - Tested successfully
avatar sandewt
sandewt - comment - 30 May 2022

I have tested this item successfully on a878b87

Joomla! 4.2.0-alpha3-dev Development


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

avatar roland-d roland-d - change - 30 May 2022
Labels Added: ?
avatar roland-d roland-d - change - 30 May 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-05-30 19:27:27
Closed_By roland-d
avatar roland-d roland-d - close - 30 May 2022
avatar roland-d roland-d - merge - 30 May 2022
avatar roland-d
roland-d - comment - 30 May 2022

Thanks everybody

Add a Comment

Login with GitHub to post a comment