Feature PR-5.0-dev Pending

User tests: Successful: Unsuccessful:

avatar Fedik
Fedik
27 Aug 2023

Summary of Changes

Event classes for Actionlog, Cache, Contact components

Affected events:

  • onAfterLogPurge (Actionlog)
  • onAfterLogExport (Actionlog)
  • onAfterPurge (Cache)
  • onValidateContact (Contact)
  • onSubmitContact (Contact)
  • onAfterCheckin (Checkin)

Testing Instructions

Use Actionlog, Cache, Contact components. Clean cache, submit contact form, Checkin.

Actual result BEFORE applying this Pull Request

Works

Expected result AFTER applying this Pull Request

Works

Link to documentations

Please select:

avatar joomla-cms-bot joomla-cms-bot - change - 27 Aug 2023
Category Administration com_cache Front End com_contact Libraries Plugins
avatar Fedik Fedik - open - 27 Aug 2023
avatar Fedik Fedik - change - 27 Aug 2023
Status New Pending
avatar Fedik Fedik - change - 28 Aug 2023
Labels Added: Feature PR-5.0-dev
avatar HLeithner
HLeithner - comment - 28 Aug 2023

do you think it's good that we have the same event class for purge and purge group?

PurgeGroup could be abstracted from the purge event and add the information (group) as argument?

avatar Fedik
Fedik - comment - 28 Aug 2023

I think it is okay, they doing basicaly the same. I would not make it more complicated.
As I see, this event mostly used only for logging.

avatar joomla-cms-bot joomla-cms-bot - change - 28 Aug 2023
Category Administration com_cache Front End com_contact Libraries Plugins Administration com_cache com_checkin Front End com_contact Libraries Plugins
avatar Fedik Fedik - change - 28 Aug 2023
Title
[5.0][Events] Event classes for Actionlog, Cache, Contact components
[5.0][Events] Event classes for Actionlog, Cache, Contact, Checkin components
avatar Fedik Fedik - edited - 28 Aug 2023
avatar Fedik Fedik - change - 28 Aug 2023
The description was changed
avatar Fedik Fedik - edited - 28 Aug 2023
avatar Fedik Fedik - change - 29 Aug 2023
The description was changed
avatar Fedik Fedik - edited - 29 Aug 2023
avatar HLeithner
HLeithner - comment - 2 Sep 2023

Merging this as with code review and based on the other similar PRs, before beta1 to get enough feedback for final release.

Additional, we need to deprecate the referenced arrays, so we can remove the workaround in J 7.0

avatar HLeithner HLeithner - change - 2 Sep 2023
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-09-02 14:19:14
Closed_By HLeithner
avatar HLeithner HLeithner - close - 2 Sep 2023
avatar HLeithner HLeithner - merge - 2 Sep 2023

Add a Comment

Login with GitHub to post a comment