RTC PR-6.1-dev Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
8 Dec 2025

Pull Request for Issue # .

Summary of Changes

This PR improves the initialiseApp() method in SiteApplication by extracting the language-detection logic into a separate method. The logic remains unchanged, but the code is cleaner, reduces nesting, and is easier to maintain.

Testing Instructions

  • Uses Joomla 6.1
  • Apply patch
  • Navigate to random pages from frontend of the site and make sure it is still working as before.

Actual result BEFORE applying this Pull Request

Works

Expected result AFTER applying this Pull Request

Works, with cleaner, easier to maintain code

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 - 8 Dec 2025
avatar joomdonation joomdonation - change - 8 Dec 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Dec 2025
Category Libraries
avatar joomdonation joomdonation - change - 8 Dec 2025
Title
Refactor SiteApplication language detection
[6.1]Refactor SiteApplication language detection
avatar joomdonation joomdonation - edited - 8 Dec 2025
avatar richard67 richard67 - change - 8 Dec 2025
Title
[6.1]Refactor SiteApplication language detection
[6.1] Refactor SiteApplication language detection
avatar richard67 richard67 - edited - 8 Dec 2025
avatar joomdonation joomdonation - change - 12 Dec 2025
Labels Added: PR-6.1-dev
avatar ceford ceford - test_item - 3 Jan 2026 - Tested successfully
avatar ceford
ceford - comment - 3 Jan 2026

I have tested this item ✅ successfully on 5ef954d

Tested on a a 6.1 site with Testing Data and two languages installed. Randomly selected menu items all worked as expected.


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

avatar tecpromotion tecpromotion - alter_testresult - 9 Jan 2026 - ceford: Tested successfully
avatar tecpromotion tecpromotion - test_item - 9 Jan 2026 - Tested successfully
avatar tecpromotion
tecpromotion - comment - 9 Jan 2026

I have tested this item ✅ successfully on f283c35

Tested with de-de and en-gb.


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

avatar tecpromotion tecpromotion - change - 9 Jan 2026
Status Pending Ready to Commit
avatar tecpromotion
tecpromotion - comment - 9 Jan 2026

RTC


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

avatar HLeithner HLeithner - change - 23 Jan 2026
Labels Added: RTC
avatar HLeithner
HLeithner - comment - 23 Jan 2026

If tests are successful, it should be automerged, thanks.

avatar HLeithner HLeithner - close - 23 Jan 2026
avatar HLeithner HLeithner - merge - 23 Jan 2026
avatar HLeithner HLeithner - change - 23 Jan 2026
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2026-01-23 16:06:16
Closed_By HLeithner

Add a Comment

Login with GitHub to post a comment