RTC bug PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar adarshdubey03
adarshdubey03
14 Mar 2026

Pull Request resolves #47383 .

  • 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

When the Content History component (com_contenthistory) is disabled, the frontend article edit form still displays the Versions button.
This pr adds a check to ensure the Versions button is only rendered when the Content History component is enabled

Testing Instructions

Go to System, then Manage and then Extensions
Disable the content history component (com_contenthistory)
Edit an existing article from the frontend

Actual result BEFORE applying this Pull Request

The Versions button is visible.

Expected result AFTER applying this Pull Request

The Versions button is not displayed.

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 adarshdubey03 adarshdubey03 - open - 14 Mar 2026
avatar adarshdubey03 adarshdubey03 - change - 14 Mar 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 14 Mar 2026
Category Front End com_content
avatar alikon
alikon - comment - 14 Mar 2026

also you need to check and fix the same issue in other components that have versioning as an example com_contact

avatar adarshdubey03 adarshdubey03 - change - 14 Mar 2026
Labels Added: PR-5.4-dev
avatar joomla-cms-bot joomla-cms-bot - change - 14 Mar 2026
Category Front End com_content Front End com_contact com_content
avatar alikon
alikon - comment - 14 Mar 2026

there are other components that have versioning please check them all

avatar adarshdubey03
adarshdubey03 - comment - 14 Mar 2026

@alikon I checked all components that provide versioning support. Currently, only com_content and com_contact expose the Versions button on the frontend

avatar chmst chmst - change - 14 Mar 2026
The description was changed
avatar chmst chmst - edited - 14 Mar 2026
avatar chmst chmst - change - 14 Mar 2026
The description was changed
avatar chmst chmst - edited - 14 Mar 2026
avatar exlemor exlemor - test_item - 15 Mar 2026 - Tested successfully
avatar exlemor
exlemor - comment - 15 Mar 2026

I have tested this item ✅ successfully on 464689d

Hi @adarshdubey03, I have tested this successfully!


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

avatar brianteeman brianteeman - test_item - 15 Mar 2026 - Tested successfully
avatar brianteeman
brianteeman - comment - 15 Mar 2026

I have tested this item ✅ successfully on 464689d


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

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

RTC


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

avatar muhme muhme - change - 15 Mar 2026
Labels Added: RTC bug
avatar muhme
muhme - comment - 15 Mar 2026

✅ final test before merge with JBT

  • Created article with versions and featured
  • Created contact with versions and linked with menu entry 'Single contact'
  • With disabled 'Content History' component seen Versions button on frontend editing article and 404 component not found before PR, same for the contact
  • Applied PR with Patch Tester
    • No Versions button on article and contact edit views, editing and saving article and contact is still possible
    • Versions button on article and contact edit views with again enabled 'Content History' component still exist and is working
avatar muhme muhme - change - 15 Mar 2026
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2026-03-15 13:10:40
Closed_By muhme
avatar muhme muhme - close - 15 Mar 2026
avatar muhme muhme - merge - 15 Mar 2026
avatar muhme
muhme - comment - 15 Mar 2026

Thank you @adarshdubey03 for your contribution. Thank you @alikon for supporting. Thank you @exlemor and @brianteeman for testing.

Add a Comment

Login with GitHub to post a comment