RTC bug PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar krishnagandhicode
krishnagandhicode
26 Apr 2026

Pull Request resolves #47696

  • 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

In ItemsModel inside populateState() the mod_menu language file load was placed before the menutype resolution logic that determines the final client_id. Moved it to after getUserStateFromRequest() so it uses the final resolved client_id.

Testing Instructions

Navigate to:
Menus -> manage > switch the filter/dropdown to Administrator
mow create a new menu with Preset set to "System Dashboard"

image then Save & Close:

now look in Menus -> at the bottom you will see the custom admin menu you just created > click on it.

Actual result BEFORE applying this Pull Request

Titles show as raw language constants like MOD_MENU_CONFIGURATION, MOD_MENU_CLEAR_CACHE, etc. on first load. Refreshing the page fixes it.
image

Expected result AFTER applying this Pull Request

itles show correctly as "Global Configuration", "Clear Cache", etc. right away — no refresh needed.
image

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

avatar krishnagandhicode krishnagandhicode - open - 26 Apr 2026
avatar krishnagandhicode krishnagandhicode - change - 26 Apr 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Apr 2026
Category Administration com_menus
avatar bascherz
bascherz - comment - 26 Apr 2026

So, is that not fixed in J!5.4.5? Are you asking me to attempt to repeat the steps used above? I can clone the site and give it a try if so.

avatar bascherz
bascherz - comment - 26 Apr 2026

So, is that not fixed in J!5.4.5? Are you asking me to attempt to repeat the steps used above? I can clone the site and give it a try if so.

avatar bascherz
bascherz - comment - 27 Apr 2026

Confirmed on J!5.4.5.

avatar bascherz
bascherz - comment - 27 Apr 2026

Confirmed on J!5.4.5. Made the same changes and it resolved the issue.

avatar exlemor exlemor - test_item - 27 Apr 2026 - Tested successfully
avatar exlemor
exlemor - comment - 27 Apr 2026

I have tested this item ✅ successfully on b8c189d

Hi @krishnagandhicode, thanks for the fix, easy one to test! :)


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

avatar exlemor
exlemor - comment - 27 Apr 2026

I have tested this item ✅ successfully on b8c189d

Hi @krishnagandhicode, thanks for the fix, easy one to test! :)


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

avatar joomdonation joomdonation - alter_testresult - 27 Apr 2026 - bascherz: Tested successfully
avatar joomdonation joomdonation - change - 27 Apr 2026
Status Pending Ready to Commit
avatar joomdonation
joomdonation - comment - 27 Apr 2026

I set the test result for @bascherz test manually. RTC.


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

avatar joomdonation
joomdonation - comment - 27 Apr 2026

I set the test result for @bascherz test manually. RTC.


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

avatar muhme muhme - change - 28 Apr 2026
Labels Added: RTC bug PR-5.4-dev
avatar muhme
muhme - comment - 28 Apr 2026

✅ Final test before merge using JBT

  • Seen language constants before PR
    • As this problem only occurs on the first view, you need to log out and log in again to reproduce it a 2nd time
  • Applied PR with Patch Tester, then logged out and login again
  • The translated language constants are displayed on the first view
avatar muhme muhme - change - 28 Apr 2026
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2026-04-28 13:12:59
Closed_By muhme
avatar muhme muhme - close - 28 Apr 2026
avatar muhme muhme - merge - 28 Apr 2026
avatar bascherz
bascherz - comment - 28 Apr 2026

✅ Final test before merge using JBT

  • Seen language constants before PR

    • As this problem only occurs on the first view, you need to log out and log in again to reproduce it a 2nd time
  • Applied PR with Patch Tester, then logged out and login again

  • The translated language constants are displayed on the first view

In my case, I was able to reproduce the issue by simply clicking on a different menu (e.g., Main) in the admin menu. Did not have to logout and back in.

avatar muhme
muhme - comment - 28 Apr 2026

Thank you very much @krishnagandhicode for your contribution. Thanks to @joomdonation for support. Thanks to @bascherz and @exlemor for testing.

avatar krishnagandhicode
krishnagandhicode - comment - 28 Apr 2026

Thanks Heiko for merge, Thanks to all who helped testing : )

Add a Comment

Login with GitHub to post a comment