RTC PR-6.2-dev Architecture Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
17 Jun 2026

Pull Request resolves # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

The old event trigger $app->triggerEvent was derecated from Joomla 4.0 but there are still many usages of that deprecated event trigger method in Joomla core code until now. This PR replaces that deprecated method by it's proper replacements.

In scope of this PR, I focus on replace event trigger of events which have concrete event classes defined to make sure the changes are backward compatible and easier for review. The remaining can be done in next steps.

Testing Instructions

This touch many part of our code base, so human testing is not really possible or enough. I hope tests and careful code review (require code review from at least one maintainer).

If maintainers decide that human testing is required, I will have to split this PR to many smaller one (maybe 10+ PRs) to make it possible for human testing.

I have made extensive testing for this PR myself to make sure nothing broken. Below are list of things which I tested and no bugs found:

  1. Test changed component config

  2. Test batch copy/move article

  3. Test delete/publish indexed articles via smart search

  4. Test delete/publish Content Maps in smart search

  5. Test delete guide tour: passed

  6. Test rebuild update sites

  7. Test edit content language

  8. Test edit file, save in a template

  9. Test media manager:

  • Test create folder
  • Test upload file
  • Test edit image
  • Test delete image
  • Test delete folder
  1. Test edit menu item

  2. Test create/delete menu

  3. Test edit/delete module

  4. Test create/edit tag

  5. Test duplicate/edit/delete template style

  6. Users Manager

  • Test add/edit user note
  • Test add/enable/disable/delete user
  1. Go to Administrator Home dashboard, make sure Quick Icons modules still being displayed

  2. JSon API View for api/components/com_content/src/View/Articles/JsonapiView.php , how to test ?

  3. Tested frontend configuration:

  • Edit module from frontend
  • Change Site Configuration Options from frontend
  • Change Template Options from frontend
  1. Test Contact Form - User Profile parameter set to show, user profile plugin enabled. User custom fields shown

  2. Test archive view

  3. Test featured view

  4. Test category blog layout

  5. Test Tag view

  6. Test user registration form and profile view

  7. Test finder:index cli command

  8. Test Articles Module

  9. Test Subform field

Things I cannot test it: Workflow - Publishing plugin. I haven't had a chance to learn about the feature.

Actual result BEFORE applying this Pull Request

Works, but use many deprecated codes

Expected result AFTER applying this Pull Request

Works, without using deprecated codes

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

b351767 17 Jun 2026 avatar joomdonation CS
avatar joomdonation joomdonation - open - 17 Jun 2026
avatar joomdonation joomdonation - change - 17 Jun 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Jun 2026
Category Administration com_config com_content com_finder com_installer com_languages com_media com_menus com_modules com_tags com_templates com_users Modules Front End com_contact
d63c776 17 Jun 2026 avatar joomdonation CS
avatar joomdonation joomdonation - change - 17 Jun 2026
Labels Added: PR-6.2-dev
9226063 17 Jun 2026 avatar joomdonation CS
avatar joomdonation joomdonation - change - 17 Jun 2026
The description was changed
avatar joomdonation joomdonation - edited - 17 Jun 2026
avatar laoneo laoneo - change - 18 Jun 2026
Labels Added: Architecture
avatar laoneo
laoneo - comment - 18 Jun 2026

I restarted the system tests, but perhaps there is a bug in the code.

avatar laoneo
laoneo - comment - 18 Jun 2026

Looks like there is an issue in history API tests.

avatar joomdonation
joomdonation - comment - 18 Jun 2026

Do you know if we have more useful information about the error? I tried to follow the steps in the script to run API operations in my local computer and could not see what's wrong here.

avatar laoneo
laoneo - comment - 19 Jun 2026

I think I found the issue

avatar laoneo
laoneo - comment - 19 Jun 2026

I think I found the issue for the failing system API test.

avatar joomdonation
joomdonation - comment - 19 Jun 2026

Thanks @laoneo . I made params argument as Registry object, hopefully the issue is fixed now

avatar ThomasFinnern ThomasFinnern - test_item - 19 Jun 2026 - Tested successfully
avatar ThomasFinnern
ThomasFinnern - comment - 19 Jun 2026

I have tested this item ✅ successfully on e59747b

Tested part 9. Test media manager:
Did test following after patch applied

  • Test create folder
  • Test upload file
  • Test edit image
  • Test delete image
  • Test delete folder

This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47973.
avatar ThomasFinnern
ThomasFinnern - comment - 19 Jun 2026

I have tested this item ✅ successfully on e59747b

Tested part 9. Test media manager:
Did test following after patch applied

  • Test create folder
  • Test upload file
  • Test edit image
  • Test delete image
  • Test delete folder

This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47973.
avatar muhme muhme - test_item - 19 Jun 2026 - Tested successfully
avatar muhme
muhme - comment - 19 Jun 2026

I have tested this item ✅ successfully on e59747b

Tested with JBT and installed Blog Sample Data, successful tested are:

avatar muhme
muhme - comment - 19 Jun 2026

I have tested this item ✅ successfully on e59747b

Tested with JBT and installed Blog Sample Data, successful tested are:

avatar richard67 richard67 - change - 19 Jun 2026
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 19 Jun 2026

RTC


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

avatar richard67
richard67 - comment - 19 Jun 2026

RTC


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

avatar laoneo laoneo - change - 20 Jun 2026
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2026-06-20 05:32:38
Closed_By laoneo
Labels Added: RTC
avatar laoneo laoneo - close - 20 Jun 2026
avatar laoneo laoneo - merge - 20 Jun 2026
avatar laoneo
laoneo - comment - 20 Jun 2026

Thanks!

Add a Comment

Login with GitHub to post a comment