RTC PR-5.3-dev Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
2 Mar 2025

Pull Request for Issue # .

Summary of Changes

The constant JPATH_COMPONENT_ADMINISTRATOR was deprecated long time ago because the path is coupled with the active component, thus prevent code re-usable.

This PR removes the usage of the constant in all components for site and admin apps. Basically, it will be replaced with JPATH_ADMINISTRATOR . '/components/com_componentname' where com_componentname is the name of component the code belong to

Testing Instructions

The change is made for different components, so we need to do code review for every single change and make sure it is correct.

Actual result BEFORE applying this Pull Request

Works

Expected result AFTER applying this Pull Request

Works, without used a deprecated constant and make code re-usable.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar joomdonation joomdonation - open - 2 Mar 2025
avatar joomdonation joomdonation - change - 2 Mar 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Mar 2025
Category Administration com_joomlaupdate com_media Front End com_contact com_content com_contenthistory com_fields com_modules
avatar QuyTon QuyTon - test_item - 3 Mar 2025 - Tested successfully
avatar QuyTon
QuyTon - comment - 3 Mar 2025

I have tested this item ✅ successfully on 7a33acf


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

avatar richard67 richard67 - test_item - 4 Mar 2025 - Tested successfully
avatar richard67
richard67 - comment - 4 Mar 2025

I have tested this item ✅ successfully on 7a33acf


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

avatar richard67 richard67 - change - 4 Mar 2025
Status Pending Ready to Commit
Labels Added: PR-5.3-dev
avatar richard67
richard67 - comment - 4 Mar 2025

RTC


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

avatar rdeutz rdeutz - change - 8 Mar 2025
Labels Added: RTC
avatar rdeutz rdeutz - change - 8 Mar 2025
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-03-08 18:26:59
Closed_By rdeutz
avatar rdeutz rdeutz - close - 8 Mar 2025
avatar rdeutz rdeutz - merge - 8 Mar 2025
avatar rdeutz
rdeutz - comment - 8 Mar 2025

Thanks

Add a Comment

Login with GitHub to post a comment