RTC Language Change bug PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar chmst
chmst
25 Mar 2026

Pull Request resolves #45809 .
New for #45813 which was closed and removed by mistake. sorry for that.

  • 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

Added event onContentPrepare to mod_articles

Testing Instructions

see #45809
Use a plugin which uses onContentPrepare.

For a test you can use this plugin (AI generated, for this test only). It adds a line "hi there" into articles if there is some text to display.
prtest.zip

When you apply the PR, please check different combinations of display params in mod_articles.

Actual result BEFORE applying this Pull Request

onContentPrepare is not triggered

Expected result AFTER applying this Pull Request

onContentPrepare is triggered if a text exists

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

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
4.00

avatar chmst chmst - open - 25 Mar 2026
avatar chmst chmst - change - 25 Mar 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 Mar 2026
Category Language & Strings Modules Front End
avatar chmst chmst - change - 25 Mar 2026
The description was changed
avatar chmst chmst - edited - 25 Mar 2026
avatar chmst chmst - change - 25 Mar 2026
The description was changed
avatar chmst chmst - edited - 25 Mar 2026
avatar chmst chmst - change - 25 Mar 2026
The description was changed
avatar chmst chmst - edited - 25 Mar 2026
05b1100 25 Mar 2026 avatar chmst cs
avatar chmst chmst - change - 25 Mar 2026
Labels Added: Language Change PR-5.4-dev
avatar ramalama ramalama - test_item - 25 Mar 2026 - Tested successfully
avatar ramalama
ramalama - comment - 25 Mar 2026

I have tested this item ✅ successfully on 05b1100

Tested with my custom template. Before: No onContentPrepare Event was fired. After: Event was fired and I could sucessfully hook into it.


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

avatar LadySolveig LadySolveig - test_item - 25 Mar 2026 - Tested successfully
avatar LadySolveig
LadySolveig - comment - 25 Mar 2026

I have tested this item ✅ successfully on 05b1100


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

avatar richard67 richard67 - change - 25 Mar 2026
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 25 Mar 2026

RTC


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

avatar muhme muhme - change - 1 Apr 2026
Labels Added: RTC bug
avatar muhme
muhme - comment - 1 Apr 2026

✅ Final test before merge with JBT

  • Installed and enabled 'Content - PR Test' plugin
  • Created 'Articles' site modules with 'Trigger Plugin events' enabled
  • Missing the to be inserted text
  • Applied PR with Patch Tester
    • Text inserted with onContentPrepare
    • If 'Title only' or 'Introtext' is hide still no text is shown
    • If 'Trigger Plugin Events' is disabled, nothing inserted
    • 'Introtext Limit' is still working
    • Seen extended inline help
avatar muhme muhme - close - 1 Apr 2026
avatar muhme muhme - merge - 1 Apr 2026
avatar muhme muhme - change - 1 Apr 2026
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2026-04-01 15:19:35
Closed_By muhme
avatar muhme
muhme - comment - 1 Apr 2026

Thank you very much @chmst for your contribution. Thanks to @ramalama and @LadySolveig for testing.

Add a Comment

Login with GitHub to post a comment